Add jv_mem_strdup*() and callocs too
This commit is contained in:
1 parent
8af52aaf52
commit
dff96aebcf
2 files changed
+29
No files matched your search
@@ -17,6 +17,10 @@ static void jv_mem_invalidate(void* mem, size_t n) {
|
||||
|
||||
void* jv_mem_alloc(size_t);
|
||||
void* jv_mem_alloc_unguarded(size_t);
|
||||
void* jv_mem_calloc(size_t, size_t);
|
||||
void* jv_mem_calloc_unguarded(size_t, size_t);
|
||||
char* jv_mem_strdup(const char *);
|
||||
char* jv_mem_strdup_unguarded(const char *);
|
||||
void jv_mem_free(void*);
|
||||
__attribute__((warn_unused_result)) void* jv_mem_realloc(void*, size_t);
|
||||
|
||||
|
||||
Reference in new issue
Block a user