Renamed the defines in symdefs.h to something more meaningful. They were named
EXP_xxx for historic reasons, but SYM_ does make much more sense now. git-svn-id: svn://svn.cc65.org/cc65/trunk@4812 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -246,7 +246,7 @@ INLINE int SymIsVar (const SymEntry* S)
|
||||
# define SymIsVar(S) (((S)->Flags & SF_VAR) != 0)
|
||||
#endif
|
||||
|
||||
int SymIsConst (SymEntry* Sym, long* Val);
|
||||
int SymIsConst (const SymEntry* Sym, long* Val);
|
||||
/* Return true if the given symbol has a constant value. If Val is not NULL
|
||||
* and the symbol has a constant value, store it's value there.
|
||||
*/
|
||||
@@ -338,6 +338,13 @@ long GetSymVal (SymEntry* Sym);
|
||||
unsigned GetSymImportId (const SymEntry* Sym);
|
||||
/* Return the import id for the given symbol */
|
||||
|
||||
unsigned GetSymInfoFlags (const SymEntry* Sym, long* ConstVal);
|
||||
/* Return a set of flags used when writing symbol information into a file.
|
||||
* If the SYM_CONST bit is set, ConstVal will contain the constant value
|
||||
* of the symbol. The result does not include the condes count.
|
||||
* See common/symdefs.h for more information.
|
||||
*/
|
||||
|
||||
#if defined(HAVE_INLINE)
|
||||
INLINE const FilePos* GetSymPos (const SymEntry* S)
|
||||
/* Return the position of first occurence in the source for the given symbol */
|
||||
|
||||
Reference in New Issue
Block a user