New function SymIsBitField.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4122 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -165,6 +165,16 @@ void FreeSymEntry (SymEntry* E);
|
|||||||
void DumpSymEntry (FILE* F, const SymEntry* E);
|
void DumpSymEntry (FILE* F, const SymEntry* E);
|
||||||
/* Dump the given symbol table entry to the file in readable form */
|
/* Dump the given symbol table entry to the file in readable form */
|
||||||
|
|
||||||
|
#if defined(HAVE_INLINE)
|
||||||
|
INLINE int SymIsBitField (const SymEntry* Sym)
|
||||||
|
/* Return true if the given entry is a bit-field entry */
|
||||||
|
{
|
||||||
|
return ((Sym->Flags & SC_BITFIELD) == SC_BITFIELD);
|
||||||
|
}
|
||||||
|
#else
|
||||||
|
# define SymIsBitField(Sym) (((Sym)->Flags & SC_BITFIELD) == SC_BITFIELD)
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(HAVE_INLINE)
|
#if defined(HAVE_INLINE)
|
||||||
INLINE int SymIsTypeDef (const SymEntry* Sym)
|
INLINE int SymIsTypeDef (const SymEntry* Sym)
|
||||||
/* Return true if the given entry is a typedef entry */
|
/* Return true if the given entry is a typedef entry */
|
||||||
|
|||||||
Reference in New Issue
Block a user