1 // Copyright (c) 1999-2008 by Digital Mars
3 // written by Walter Bright
4 // http://www.digitalmars.com
5 // License for redistribution is by either the Artistic License
6 // in artistic.txt, or the GNU General Public License in gnu.txt.
7 // See the included readme.txt for details.
31 struct StringTable
: Object
37 StringTable(unsigned size
= 37);
40 StringValue
*lookup(const dchar
*s
, unsigned len
);
41 StringValue
*insert(const dchar
*s
, unsigned len
);
42 StringValue
*update(const dchar
*s
, unsigned len
);
45 void **search(const dchar
*s
, unsigned len
);