summaryrefslogtreecommitdiffstats
path: root/deps/hdr_histogram/hdr_redis_malloc.h
blob: d9401ca70b106e771b61c80737c3d6ac804cb82a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#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