6 void drawText(int x, int y, const char *text, int flags = 0);
7 void drawText(int x, int y, const std::string &text, int flags = 0);
9 #define SDW_CHECK_ARGS(A, B, ...) SDW_CHECK_ARGS_(__VA_ARGS__, B, A)
10 #define SDW_CHECK_ARGS_(a2, a1, X, ...) X
16 extern int global_argc; \
17 extern char **global_argv; \
18 simpleDW_user_main(global_argc, global_argv)
21 simpleDW_user_main(__VA_ARGS__); \
22 void simpleDW_user_main_wrapper() \
24 SDW_CHECK_ARGS(call0(), call2(), __VA_ARGS__); \
26 int simpleDW_user_main(__VA_ARGS__)
28 #endif // !SIMPLE_DW_H