mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-10-15 05:19:41 -07:00
use compound initializers to define and drive obj generation
This commit is contained in:
1 parent
ccb1cd8f4d
commit
1f4c4af598
6 files changed
+3309
-3112
No files matched your search
@@ -162,6 +162,7 @@ internal U64 cstring32_length(U32 *c);
|
||||
|
||||
#define str8_lit(S) str8((U8*)(S), sizeof(S) - 1)
|
||||
#define str8_lit_comp(S) {(U8*)(S), sizeof(S) - 1,}
|
||||
#define str8_lit_cstr(S) str8((U8*)(S), sizeof(S))
|
||||
#define str8_varg(S) (int)((S).size), ((S).str)
|
||||
|
||||
#define str8_array(S,C) str8((U8*)(S), sizeof(*(S))*(C))
|
||||
|
||||
Reference in new issue
Block a user