diff options
| author | 2025-10-11 03:09:35 +0100 | |
|---|---|---|
| committer | 2025-10-11 03:13:18 +0100 | |
| commit | 74f1309af5310fbfa346048f8ecfc7fe1e8a4571 (patch) | |
| tree | f2c8eb715e0caea090fb69abfeaeee1ca55d6d8a /src/build/mkentprops.c | |
| parent | b447f5879d0c4c49d72f167ed2cf0f1e44a52123 (diff) | |
| download | sst-74f1309af5310fbfa346048f8ecfc7fe1e8a4571.tar.gz sst-74f1309af5310fbfa346048f8ecfc7fe1e8a4571.zip | |
Improve gamedata codegen and fix spurious cases
The old GAMESPECIFIC mechanism had worked in practice but was
technically a little bit incorrect, oops.
Diffstat (limited to 'src/build/mkentprops.c')
| -rw-r--r-- | src/build/mkentprops.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/build/mkentprops.c b/src/build/mkentprops.c index 17d9aa0..7c195d0 100644 --- a/src/build/mkentprops.c +++ b/src/build/mkentprops.c @@ -350,6 +350,7 @@ static inline void dodecls(FILE *out) { const char *s = sbase + decls[i]; F( "extern int %s;", s); F( "#define has_%s (!!%s)", s, s); // offsets will NEVER be 0, due to vtable! +F( "#define _HAS_%s(x) has_%s", s, s); // HACK: stupid dupe for gluegen } } |
