diff lphobos/object.d @ 473:373489eeaf90

Applied downs' lphobos update
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Mon, 04 Aug 2008 19:28:49 +0200
parents fd7ad91fd713
children 88e23f8c2354
line wrap: on
line diff
--- a/lphobos/object.d	Mon Aug 04 19:08:39 2008 +0200
+++ b/lphobos/object.d	Mon Aug 04 19:28:49 2008 +0200
@@ -1,4 +1,3 @@
-
 // Implementation is in internal\object.d
 
 module object;
@@ -173,11 +172,19 @@
     void function() ctor;
     void function() dtor;
     void function() unitTest;
+    void* xgetMembers;
+    void function() ictor;
 
     // Return collection of all modules in the program.
-    static ModuleInfo[] modules();
+    static int opApply(int delegate(ref ModuleInfo));
 }
 
+struct ModuleReference {
+    ModuleReference* next;
+    ModuleInfo mod;
+}
+extern(C) extern ModuleReference* _Dmodule_ref;
+
 // Recoverable errors
 
 class Exception : Object
@@ -198,4 +205,3 @@
     this(string msg);
     this(string msg, Error next);
 }
-