Setup Context's logger and fallback. (Not yet used in implementation).

This commit is contained in:
2025-02-19 10:50:36 -05:00
parent 727b54c341
commit 844d431e1c
7 changed files with 95 additions and 46 deletions

View File

@ -298,10 +298,20 @@
# define GEN_PARAM_DEFAULT
#endif
#if GEN_COMPILER_CPP
#define struct_init(type, value) {value}
#else
#define struct_init(type, value) {value}
#ifndef struct_init
# if GEN_COMPILER_CPP
# define struct_init(type, value) value
# else
# define struct_init(type, value) (type) value
# endif
#endif
#ifndef struct_zero
# if GEN_COMPILER_CPP
# define struct_zero(type) {}
# else
# define struct_zero(type) (type) {0}
# endif
#endif
#if 0