32 #ifndef __OPJ_MALLOC_H
33 #define __OPJ_MALLOC_H
63 void *
opj_calloc(
size_t numOfElements,
size_t sizeOfElements);
88 #if defined(__GNUC__) && !defined(OPJ_SKIP_POISON)
89 #pragma GCC poison malloc calloc realloc free
void * opj_malloc(size_t size)
Allocate an uninitialized memory block.
Definition: opj_malloc.c:190
void opj_aligned_free(void *ptr)
Definition: opj_malloc.c:215
void * opj_aligned_realloc(void *ptr, size_t size)
Definition: opj_malloc.c:210
void * opj_realloc(void *m, size_t s)
Reallocate memory blocks.
Definition: opj_malloc.c:229
void opj_free(void *m)
Deallocates or frees a memory block.
Definition: opj_malloc.c:236
void * opj_calloc(size_t numOfElements, size_t sizeOfElements)
Allocate a memory block with elements initialized to 0.
Definition: opj_malloc.c:197
void * opj_aligned_malloc(size_t size)
Allocate memory aligned to a 16 byte boundary.
Definition: opj_malloc.c:206