Mercurial > projects > ddmd
view dmd/StringEntry.d @ 181:aa70dca07cb0
ArrayExp.toCBuffer and TypeReturn.toCBuffer2
author | korDen |
---|---|
date | Mon, 18 Oct 2010 00:36:44 +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); } }