Fix ctags in main file

main
Cameron Murphy Reikes 10 months ago
parent 5ad3b59da4
commit 9be9da95c9

@ -0,0 +1 @@
ctags -R . -D DESKTOP -D DEVTOOLS -I "#error"

@ -3,6 +3,9 @@
#define SOKOL_IMPL #define SOKOL_IMPL
// ctags doesn't like the error macro so we do this instead. lame
#define ISANERROR(why) jfdskljfdsljfklja why
#if defined(WIN32) || defined(_WIN32) #if defined(WIN32) || defined(_WIN32)
#define DESKTOP #define DESKTOP
#define WINDOWS #define WINDOWS
@ -349,7 +352,7 @@ void start_controlling_input()
_sapp_emsc_register_eventhandlers(); _sapp_emsc_register_eventhandlers();
} }
#else #else
#error "No platform defined for text input! ISANERROR("No platform defined for text input!")
#endif // web #endif // web
#endif // desktop #endif // desktop
@ -541,7 +544,7 @@ void done_with_request(int id)
} }
#else #else
#error "Only know how to do desktop http requests on windows" ISANERROR("Only know how to do desktop http requests on windows")
#endif // WINDOWS #endif // WINDOWS
#endif // DESKTOP #endif // DESKTOP
@ -5898,7 +5901,7 @@ void frame(void)
return get_generation_request_status($0); return get_generation_request_status($0);
}, it->gen_request_id); }, it->gen_request_id);
#else #else
#error "Don't know how to do this stuff on this platform." ISANERROR("Don't know how to do this stuff on this platform.")
#endif // WEB #endif // WEB
#endif // DESKTOP #endif // DESKTOP
if (status == 0) if (status == 0)

Loading…
Cancel
Save