opj_malloc.h File Reference

Internal functions. More...

Go to the source code of this file.

Exported functions

#define opj_malloc(size)   malloc(size)
 Allocate an uninitialized memory block.
#define opj_calloc(num, size)   calloc(num, size)
 Allocate a memory block with elements initialized to 0.
#define HAVE_POSIX_MEMALIGN
 Allocate memory aligned to a 16 byte boundry.
#define opj_aligned_malloc(size)   malloc(size)
#define opj_aligned_free(m)   free(m)
#define opj_aligned_free(m)   free(m)
#define opj_realloc(m, s)   realloc(m, s)
 Reallocate memory blocks.
#define opj_free(m)   free(m)
 Deallocates or frees a memory block.
int posix_memalign (void **, size_t, size_t)
static INLINE void * __attribute__ ((malloc)) opj_aligned_malloc(size_t size)


Detailed Description

Internal functions.

The functions in opj_malloc.h are internal utilities used for memory management.


doxygen