mirror of
https://github.com/gbdev/rgbds.git
synced 2026-10-05 11:45:36 +00:00
Add "print types" to bracketed symbols
Should partially cover #178 and close #270. This allows printing numbers in different bases and without the dollar prefix This is especially useful in macros because the dollar isnt a valid character for symbol names, requiring heavy `STRSUB` usage.
This commit is contained in:
1 parent
e33e6e2413
commit
64752da42d
4 files changed
+70
-8
No files matched your search
+2
-1
@@ -39,6 +39,7 @@ extern struct sSymbol *tHashedSymbols[HASHSIZE];
|
||||
extern struct sSymbol *pPCSymbol;
|
||||
extern bool oDontExpandStrings;
|
||||
|
||||
size_t symvaluetostring(char *dest, size_t maxLength, char *sym);
|
||||
size_t symvaluetostring(char *dest, size_t maxLength, char *sym,
|
||||
const char *mode);
|
||||
|
||||
#endif /* RGBDS_ASM_ASM_H */
|
||||
Reference in new issue
Block a user