Fixed bugs in the macro versions of the GetStringId inline functions.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3826 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -76,7 +76,7 @@ INLINE unsigned GetStringId (const char* S)
|
|||||||
return SP_AddStr (&StrPool, S);
|
return SP_AddStr (&StrPool, S);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
# define GetStringId(S) SP_Add (&StrPool, (S))
|
# define GetStringId(S) SP_AddStr (&StrPool, (S))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(HAVE_INLINE)
|
#if defined(HAVE_INLINE)
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ INLINE unsigned GetStringId (const char* S)
|
|||||||
return SP_AddStr (&StrPool, S);
|
return SP_AddStr (&StrPool, S);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
# define GetStringId(S) SP_Add (&StrPool, (S))
|
# define GetStringId(S) SP_AddStr (&StrPool, (S))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(HAVE_INLINE)
|
#if defined(HAVE_INLINE)
|
||||||
|
|||||||
Reference in New Issue
Block a user