X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Fld65%2Fextsyms.h;h=a394ad76ab830d04dfc9f794c30070f615e71482;hb=f266612697b213f2f74027eb5b2605b19a97d6d7;hp=56edf0224bfd2cb4600511ea6d32cb45b07036d1;hpb=ebbd68673b30f863c770c1ced80149ea76949fe8;p=cc65 diff --git a/src/ld65/extsyms.h b/src/ld65/extsyms.h index 56edf0224..a394ad76a 100644 --- a/src/ld65/extsyms.h +++ b/src/ld65/extsyms.h @@ -1,8 +1,8 @@ /*****************************************************************************/ /* */ -/* extsyms.h */ +/* extsyms.h */ /* */ -/* Handle program external symbols for relocatable output formats */ +/* Handle program external symbols for relocatable output formats */ /* */ /* */ /* */ @@ -39,7 +39,7 @@ /*****************************************************************************/ -/* Data */ +/* Data */ /*****************************************************************************/ @@ -53,12 +53,12 @@ typedef struct ExtSymTab ExtSymTab; /*****************************************************************************/ -/* Code */ +/* Code */ /*****************************************************************************/ -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 */ @@ -94,7 +94,3 @@ const ExtSym* ExtSymNext (const ExtSym* E); /* End of extsyms.h */ #endif - - - -