mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
14 lines
300 B
C
14 lines
300 B
C
|
#ifndef HDR_MALLOC_H__
|
||
|
#define HDR_MALLOC_H__
|
||
|
|
||
|
void *zmalloc(size_t size);
|
||
|
void *zcalloc_num(size_t num, size_t size);
|
||
|
void *zrealloc(void *ptr, size_t size);
|
||
|
void zfree(void *ptr);
|
||
|
|
||
|
#define hdr_malloc zmalloc
|
||
|
#define hdr_calloc zcalloc_num
|
||
|
#define hdr_realloc zrealloc
|
||
|
#define hdr_free zfree
|
||
|
#endif
|