From: fennecdjay Date: Tue, 13 Feb 2024 20:03:09 +0000 (+0100) Subject: :fire: clean include X-Git-Tag: nightly~81 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=55fb76997de6558c236efbc4dd3cddb1fc6cfdc1;p=gwion.git :fire: clean include --- 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);