Mercurial > projects > ddmd
view dmd/StringEntry.d @ 179:cd48cb899aee
Updated to dmd2.040
author | korDen |
---|---|
date | Sun, 17 Oct 2010 20:56:07 +0400 |
parents | e3afd1303184 |
children |
line wrap: on
line source
module dmd.StringEntry; import dmd.common; import dmd.StringValue; import dmd.Dchar; import dmd.Lstring; import core.stdc.stdlib; struct StringEntry { StringEntry* left; StringEntry* right; hash_t hash; StringValue value; this(immutable(dchar_t)[] s) { hash = Dchar.calcHash(s.ptr, s.length); } }