More string pool use

git-svn-id: svn://svn.cc65.org/cc65/trunk@2198 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2003-06-04 15:40:32 +00:00
parent edde7a3f45
commit cea9aff3ef
13 changed files with 139 additions and 125 deletions

View File

@@ -58,7 +58,7 @@ typedef struct ExtSymTab ExtSymTab;
ExtSym* NewExtSym (ExtSymTab* Tab, const char* Name);
ExtSym* NewExtSym (ExtSymTab* Tab, unsigned Name);
/* Create a new external symbol and insert it into the list */
ExtSymTab* NewExtSymTab (void);
@@ -67,7 +67,7 @@ ExtSymTab* NewExtSymTab (void);
void FreeExtSymTab (ExtSymTab* Tab);
/* Free an external symbol structure */
ExtSym* GetExtSym (const ExtSymTab* Tab, const char* Name);
ExtSym* GetExtSym (const ExtSymTab* Tab, unsigned Name);
/* Return the entry for the external symbol with the given name. Return NULL
* if there is no such symbol.
*/
@@ -83,8 +83,8 @@ const ExtSym* ExtSymList (const ExtSymTab* Tab);
unsigned ExtSymNum (const ExtSym* E);
/* Return the number of an external symbol */
const char* ExtSymName (const ExtSym* E);
/* Return the symbol name */
unsigned ExtSymName (const ExtSym* E);
/* Return the symbol name index */
const ExtSym* ExtSymNext (const ExtSym* E);
/* Return the next symbol in the list */