Mercurial > projects > ddmd
view dmd/StringEntry.d @ 185:13cf8da225ce
Merge.
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Tue, 02 Nov 2010 08:49:51 +0100 |
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); } }