mirror of https://github.com/F-Stack/f-stack.git
14 lines
267 B
C
14 lines
267 B
C
|
/* Drop in replacement for zmalloc.h in order to just use libc malloc without
|
||
|
* any wrappering. */
|
||
|
|
||
|
#ifndef ZMALLOC_H
|
||
|
#define ZMALLOC_H
|
||
|
|
||
|
#define zmalloc malloc
|
||
|
#define zrealloc realloc
|
||
|
#define zcalloc(x) calloc(x,1)
|
||
|
#define zfree free
|
||
|
#define zstrdup strdup
|
||
|
|
||
|
#endif
|