Loading...
Searching...
No Matches
Go to the documentation of this file.
6#define CFG_STR_WIN1251 4
9#define CFG_COORDINATES 7
16#define CFG_UTF8_STRING 10
17#define CFG_CHECKBOX 11
25#define CFG_UTF8_STRING_PASS 16
40 #define __DATA_CFG_BEGIN(x) ((void*)(&__config_begin##x)+4)
41 #define __DATA_CFG_END(x) ((void*)(&__config_end##x))
43 #define __root __attribute__((section("CONFIG"), used, no_reorder)) volatile
44 #define __CFG_BEGIN(x) __root int __config_begin##x = 0L;
45 #define __CFG_END(x) __root int __config_end##x = 0L;
47 #define __CONFIG(x, cfg) &cfg, (int*)&__config_begin##x, (int*)&__config_end##x
49 #define __CONFIG_EXTERN(x, cfg) extern CFG_HDR cfg; \
50 extern int __config_begin##x; \
51 extern int __config_end##x;