jv_alloc.h
This file
Path
src/jv_alloc.h
15 lines · 396 bytes · C
Last changed by
Avoid zero-length `calloc` (#3280)itchynybefore adoptiona8ce2ff
History of this fileTake it
The walk stopped after 200 commits: lines older than fa6a2ff point at it.
website: remove unused root path on building website (#3248)itchynybefore adoptionfa6a2ff
lines 1–15why, one step back1#ifndef JV_ALLOC_H2#define JV_ALLOC_H34#include <stddef.h>56void* jv_mem_alloc(size_t);7void* jv_mem_alloc_unguarded(size_t);8void* jv_mem_calloc(size_t, size_t);9void* jv_mem_calloc_unguarded(size_t, size_t);10char* jv_mem_strdup(const char *);11char* jv_mem_strdup_unguarded(const char *);12void jv_mem_free(void*);13__attribute__((warn_unused_result)) void* jv_mem_realloc(void*, size_t);1415#endif