blob: 86e9d9231e796dd7eb01a1f89f41194c200f9070 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/* zmalloc.h - simplified memory allocation wrapper for ae library
* This is a minimal version for standalone use outside Redis.
*/
#ifndef __ZMALLOC_H
#define __ZMALLOC_H
#include <stdlib.h>
/* Simple wrappers around standard malloc/free */
#define zmalloc malloc
#define zfree free
#define zrealloc realloc
#define zcalloc calloc
#endif
|