From 55fb76997de6558c236efbc4dd3cddb1fc6cfdc1 Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Tue, 13 Feb 2024 21:03:09 +0100 Subject: [PATCH] :fire: clean include --- include/parse.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/parse.h b/include/parse.h index 273ddbfb..2c9118da 100644 --- a/include/parse.h +++ b/include/parse.h @@ -96,17 +96,17 @@ static inline ANN bool env_body(const Env env, const Class_Def cdef, ANN bool scanx_cdef(const Env, void *, const Type, const _envset_func f_cdef, const _envset_func f_union); -#define xxx_cdef_b(prefix) \ +#define xxx_cdef(prefix) \ static inline bool prefix##_cdef(const Env env, const Type t) { \ return scanx_cdef(env, env, t, (_envset_func)prefix##_class_def, \ (_envset_func)prefix##_union_def); \ } -xxx_cdef_b(scan0); -xxx_cdef_b(scan1); -xxx_cdef_b(scan2); -xxx_cdef_b(check); -xxx_cdef_b(traverse); +xxx_cdef(scan0); +xxx_cdef(scan1); +xxx_cdef(scan2); +xxx_cdef(check); +xxx_cdef(traverse); ANN bool scanx_fdef(const Env, void *, const Func_Def, const _envset_func); -- 2.43.0