sketch out logging stub, to begin marking up debugger layers with logging - high level stuff still wip

This commit is contained in:
Ryan Fleury
2024-04-17 14:32:09 -07:00
parent a954317500
commit b995909997
12 changed files with 183 additions and 3 deletions
+2 -2
View File
@@ -4,9 +4,9 @@
#ifndef BASE_MARKUP_H
#define BASE_MARKUP_H
internal void thread_namef(char *fmt, ...);
internal void thread_name(String8 string);
internal void thread_namef(char *fmt, ...);
#define ThreadNameF(...) (ProfThreadName(__VA_ARGS__), thread_namef(__VA_ARGS__))
#define ThreadName(str) (ProfThreadName("%s", str8_varg(str)), thread_name(str))
#define ThreadName(str) (ProfThreadName("%.*s", str8_varg(str)), thread_name(str))
#endif // BASE_MARKUP_H