From b03bde3d412148cd573f5f14012cdd270f309947 Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Sun, 11 Aug 2024 23:00:26 +1000 Subject: starting work on immediate mode drawing --- src/std/containers/darray.h | 6 ------ src/std/str.h | 2 ++ 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'src/std') 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); -- cgit v1.2.3-70-g09d2