diff options
author | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-08-11 23:00:26 +1000 |
---|---|---|
committer | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-08-11 23:00:26 +1000 |
commit | b03bde3d412148cd573f5f14012cdd270f309947 (patch) | |
tree | 848af582079a60787cc5a5f8138e7ca6d508f2ee /src/std | |
parent | 48a703e52490cb52fd32e54e3e37f7e70462a267 (diff) |
starting work on immediate mode drawing
Diffstat (limited to 'src/std')
-rw-r--r-- | src/std/containers/darray.h | 6 | ||||
-rw-r--r-- | src/std/str.h | 2 |
2 files changed, 2 insertions, 6 deletions
diff --git a/src/std/containers/darray.h b/src/std/containers/darray.h index ebb5795..d8c1e6d 100644 --- a/src/std/containers/darray.h +++ b/src/std/containers/darray.h @@ -38,12 +38,6 @@ #define PREFIX static -/* if (arena != NULL) {\ */ -/* d = arena_alloc(arena, sizeof(T##_darray));\ */ -/* data = arena_alloc(arena, starting_capacity * sizeof(T));\ */ -/* } else {\ */ -/* }\ */ - #define KITC_DECL_TYPED_ARRAY(T) DECL_TYPED_ARRAY(T, T) #define DECL_TYPED_ARRAY(T, Type) \ diff --git a/src/std/str.h b/src/std/str.h index 9e712e6..c25c615 100644 --- a/src/std/str.h +++ b/src/std/str.h @@ -33,6 +33,8 @@ typedef struct { Str8 Str8_create(u8* buf, size_t len); +// TODO: Str8_OntoArena(arena* a, Str8 s); + /** @brief Return a null-terminated C string cloned onto an arena */ char* Str8_to_cstr(arena* a, Str8 s); |