OpenJPEG  2.1.0
opj_malloc.h File Reference

Internal functions. More...

#include <malloc.h>

Go to the source code of this file.

Exported functions

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

Detailed Description

Internal functions.

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