Setup Context's logger and fallback. (Not yet used in implementation).
This commit is contained in:
1 parent
727b54c341
commit
844d431e1c
7 files changed
+95
-46
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user