1
//========================================================================
5
// Copyright 2001-2002 Glyph & Cog, LLC
7
//========================================================================
9
#ifndef NAMETOCHARCODE_H
10
#define NAMETOCHARCODE_H
14
#ifdef USE_GCC_PRAGMAS
18
#include "CharTypes.h"
20
struct NameToCharCodeEntry;
22
//------------------------------------------------------------------------
24
class NameToCharCode {
30
void add(const char *name, CharCode c);
31
CharCode lookup(const char *name);
35
int hash(const char *name);
37
NameToCharCodeEntry *tab;