summaryrefslogtreecommitdiffhomepage
path: root/src/build/cmeta.h
diff options
context:
space:
mode:
authorMichael Smith <mikesmiffy128@gmail.com>2022-03-20 20:05:42 +0000
committerMichael Smith <mikesmiffy128@gmail.com>2022-03-20 20:09:53 +0000
commitc0d4714cb304394f19cac5b71d704aa6b2c27dd5 (patch)
tree252a0880c6e2fbff9a506ad049b03691eaf1094e /src/build/cmeta.h
parent254c7be6edd17a3c33e9152097264f5b159b1b45 (diff)
Support deferring cvar registration
This allows stuff to be registered conditionally. Unfortunately cmeta is now truly the worst thing of all time, but cleaning it up isn't a huge priority. On the plus side, codegen actually got simpler.
Diffstat (limited to 'src/build/cmeta.h')
-rw-r--r--src/build/cmeta.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build/cmeta.h b/src/build/cmeta.h
index 3319e3a..18ff62c 100644
--- a/src/build/cmeta.h
+++ b/src/build/cmeta.h
@@ -37,7 +37,7 @@ void cmeta_includes(const struct cmeta *cm,
* con_.h, passing each one in turn to the callback cb.
*/
void cmeta_conmacros(const struct cmeta *cm,
- void (*cb)(const char *name, bool isvar));
+ void (*cb)(const char *name, bool isvar, bool unreg));
#endif