summaryrefslogtreecommitdiff
path: root/src/library/scala/Ref.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/scala/Ref.cs')
-rw-r--r--src/library/scala/Ref.cs31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/library/scala/Ref.cs b/src/library/scala/Ref.cs
new file mode 100644
index 0000000000..660b07321c
--- /dev/null
+++ b/src/library/scala/Ref.cs
@@ -0,0 +1,31 @@
+/* __ *\
+** ________ ___ / / ___ Scala API **
+** / __/ __// _ | / / / _ | (c) 2002-2004, LAMP/EPFL **
+** __\ \/ /__/ __ |/ /__/ __ | **
+** /____/\___/_/ |_/____/_/ | | **
+** |/ **
+\* */
+
+// $OldId: Ref.java,v 1.2 2002/03/12 13:16:04 zenger Exp $
+// $Id:Ref.cs 5359 2005-12-16 16:33:49 +0100 (Fri, 16 Dec 2005) dubochet $
+
+using System;
+using scala.runtime;
+
+namespace scala
+{
+
+ [Meta("class [?T] extends scala.AnyRef;")]
+ [Serializable]
+ public class Ref : object {
+
+ [Meta("field ?T;")]
+ public object elem = null;
+
+ [Meta("constr (?T);")]
+ public Ref(object x)
+ {
+ elem = x;
+ }
+ }
+} \ No newline at end of file