diff dwt/internal/C.d @ 36:db5a898b2119

Fixed a lot of compile errors
author Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com>
date Tue, 07 Oct 2008 12:56:18 +0200
parents f565d3a95c0a
children d8635bb48c7c
line wrap: on
line diff
--- a/dwt/internal/C.d	Sun Sep 14 23:32:29 2008 +0200
+++ b/dwt/internal/C.d	Tue Oct 07 12:56:18 2008 +0200
@@ -13,8 +13,8 @@
  *******************************************************************************/
 module dwt.internal.C;
 
-import stdc = tango.stdc.stdlib : free, malloc, getenv;
-import stdc = tango.stdc.string : memmove, memset, strlen;
+static import stdlib = tango.stdc.stdlib;
+static import stdcstring = tango.stdc.string;
 
 import dwt.internal.Library;
 import dwt.internal.Platform;
@@ -32,12 +32,12 @@
 
     public static const size_t PTR_SIZEOF = (void*).sizeof;
 
-    alias stdc.free free;
-    alias stdc.getenv getenv;
-    alias stdc.malloc malloc;
-    alias stdc.memset memset;
-    alias stdc.memmove memmove;
-    alias stdc.strlen strlen;
+    alias stdlib.free free;
+    alias stdlib.getenv getenv;
+    alias stdlib.malloc malloc;
+    alias stdcstring.memset memset;
+    alias stdcstring.memmove memmove;
+    alias stdcstring.strlen strlen;
     
 /+public static final native void free (int /*long*/ ptr);
 public static final native int /*long*/ getenv (byte[] wcsToMbcs);