19 #ifndef GRPC_SUPPORT_ALLOC_H
20 #define GRPC_SUPPORT_ALLOC_H
GPRAPI void * gpr_malloc_aligned(size_t size, size_t alignment)
aligned malloc, never returns NULL, will align to alignment, which must be a power of 2.
Definition: alloc.cc:65
GPRAPI void * gpr_realloc(void *p, size_t size)
realloc, never returns NULL
Definition: alloc.cc:55
GPRAPI void gpr_free(void *ptr)
free
Definition: alloc.cc:50
GPRAPI void * gpr_malloc(size_t size)
malloc.
Definition: alloc.cc:28
GPRAPI void gpr_free_aligned(void *ptr)
free memory allocated by gpr_malloc_aligned
Definition: alloc.cc:74
GPRAPI void * gpr_zalloc(size_t size)
like malloc, but zero all bytes before returning them
Definition: alloc.cc:39