Mercurial > projects > dmdscript-tango
diff dmdscript_tango/property.d @ 4:6d905019f7bf
some changes
author | saaadel |
---|---|
date | Thu, 28 Jan 2010 21:23:27 +0200 |
parents | 8363a4bf6a8f |
children |
line wrap: on
line diff
--- a/dmdscript_tango/property.d Sun Jan 24 18:33:05 2010 +0200 +++ b/dmdscript_tango/property.d Thu Jan 28 21:23:27 2010 +0200 @@ -25,7 +25,8 @@ import dmdscript_tango.value; import dmdscript_tango.identifier; -import std.c.string; +//import std.c.string; +import tango.stdc.string; // attribute flags enum @@ -142,7 +143,8 @@ // Not found, create new elem //printf("\tcreate new one\n"); e = cast(aaA *) cast(void*) new void[aaA.sizeof + Value.sizeof + Property.sizeof]; - std.c.string.memcpy(e + 1, key, Value.sizeof); + tango.stdc.string.memcpy(e + 1, key, Value.sizeof); + //std.c.string.memcpy(e + 1, key, Value.sizeof); e.hash = hash; *pe = e;