mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-25 20:42:07 +00:00
Remove unnecessarily nested symbol data union
This commit is contained in:
@@ -40,7 +40,6 @@ struct Symbol {
|
||||
|
||||
bool hasCallback;
|
||||
union {
|
||||
union { /* Otherwise */
|
||||
/* If sym_IsNumeric */
|
||||
int32_t value;
|
||||
int32_t (*numCallback)(void);
|
||||
@@ -52,7 +51,6 @@ struct Symbol {
|
||||
/* For SYM_EQUS, TODO: separate "base" fields from SYM_MACRO */
|
||||
char const *(*strCallback)(void); /* For SYM_EQUS */
|
||||
};
|
||||
};
|
||||
|
||||
uint32_t ID; /* ID of the symbol in the object file (-1 if none) */
|
||||
struct Symbol *next; /* Next object to output in the object file */
|
||||
|
||||
Reference in New Issue
Block a user