From c0d4714cb304394f19cac5b71d704aa6b2c27dd5 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Sun, 20 Mar 2022 20:05:42 +0000 Subject: 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. --- src/build/cmeta.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/build/cmeta.h') 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 -- cgit v1.2.3