diff options
| author | Andre Weissflog <floooh@gmail.com> | 2020-11-28 14:56:34 +0100 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2020-11-28 14:58:33 +0100 |
| commit | 900df0ee04e4c0b9db7a5b2352c69a645394aa08 (patch) | |
| tree | b264953e4d9ba3b4acec882cc76cef174a4670ad /util/sokol_debugtext.h | |
| parent | fad0bf816dd94b8f55a8aa85b1746cce752589e2 (diff) | |
document SOKOL_API_DECL (these macros are still valid)
Diffstat (limited to 'util/sokol_debugtext.h')
| -rw-r--r-- | util/sokol_debugtext.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/util/sokol_debugtext.h b/util/sokol_debugtext.h index 4656b53c..72458984 100644 --- a/util/sokol_debugtext.h +++ b/util/sokol_debugtext.h @@ -26,7 +26,8 @@ SOKOL_ASSERT(c) - your own assert macro (default: assert(c)) SOKOL_MALLOC(s) - your own malloc function (default: malloc(s)) SOKOL_FREE(p) - your own free function (default: free(p)) - SOKOL_DEBUGTEXT_API_DECL - public function declaration prefix (default: extern) + SOKOL_DEBUGTEXT_API_DECL - public function declaration prefix (default: extern) + SOKOL_API_DECL - same as SOKOL_DEBUGTEXT_API_DECL SOKOL_API_IMPL - public function implementation prefix (default: -) SOKOL_LOG(msg) - your own logging function (default: puts(msg)) SOKOL_UNREACHABLE() - a guard macro for unreachable code (default: assert(false)) @@ -2195,7 +2196,7 @@ static const uint8_t _sdtx_font_oric[2048] = { frag_color = texture(tex, uv).xxxx * color; } @end - + @program debugtext vs fs */ #if defined(SOKOL_GLCORE33) |