diff runtime/internal/lifetime.d @ 728:635f91212b78

Change _d_newclass into _d_allocclass. Add initialization to ClassInfo.create.
author Christian Kamm <kamm incasoftware de>
date Sun, 26 Oct 2008 14:12:03 +0100
parents a26b0c5d5942
children 4c02b41b3dc6
line wrap: on
line diff
--- a/runtime/internal/lifetime.d	Sun Oct 26 14:11:14 2008 +0100
+++ b/runtime/internal/lifetime.d	Sun Oct 26 14:12:03 2008 +0100
@@ -88,11 +88,11 @@
 /**
  *
  */
-extern (C) Object _d_newclass(ClassInfo ci)
+extern (C) Object _d_allocclass(ClassInfo ci)
 {
     void* p;
 
-    debug(PRINTF2) printf("_d_newclass(ci = %p, %s)\n", ci, cast(char *)ci.name.ptr);
+    debug(PRINTF2) printf("_d_allocclass(ci = %p, %s)\n", ci, cast(char *)ci.name.ptr);
     /+
     if (ci.flags & 1) // if COM object
     {   /* COM objects are not garbage collected, they are reference counted