Refactor: Remove reduntant functions from string and memory module
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#define SV(sp, s) string_create(sp, s, sizeof(s) - 1)
|
||||
#define STR_LIT(sp, s) string_create(sp, s, sizeof(s) - 1)
|
||||
|
||||
struct StringPool
|
||||
{
|
||||
@@ -22,7 +22,6 @@ typedef struct StringPool StringPool;
|
||||
typedef struct StringView StringView;
|
||||
|
||||
StringPool string_pool_create(Arena* a);
|
||||
void string_pool_reset(StringPool* sp);
|
||||
|
||||
StringView string_create(StringPool* sp, const char* s, size_t len);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user