Header: ar_osal/api/ar_osal_heap.h
Structures
ar_heap_info_t
Heap memory info structure.
Members
heap memory byte alignment required.
pool type to allocate heap memory.
head id to allocate heap memory.
Functions
ar_heap_init
ar_heap_init initialize heap memory interface.
Returns
0 Success Nonzero Failure
ar_heap_deinit
ar_heap_deinit.
Returns
0 Success Nonzero Failure
ar_heap_malloc
Allocates heap memory.
Parameters
number of bytes to allocate heap memory.
pointer of type: ar_heap_info.
Returns
Nonzero Success: pointer to the allocated heap memory NULL Failure
ar_heap_calloc
Allocates heap memory and initialize with 0.
Parameters
number of bytes to allocate heap memory.
pointer of type: ar_heap_info.
Returns
Nonzero Success: pointer to the allocated heap memory NULL Failure
ar_heap_free
Frees heap memory.
Parameters
pointer to heap memory obtained from ar_heap_alloc().
Returns
0 Success Nonzero Failure
Type Definitions
ar_heap_align_bytes
enum for heap memory byte alignments
ar_heap_id
enum for heap memory ids
ar_heap_pool_type
enum for heap memory types
ar_heap_info
Heap memory info structure.
par_heap_info
Enumerations
_ar_heap_align_bytes
enum for heap memory byte alignments
Values
_ar_heap_id
enum for heap memory ids
Values
_ar_heap_pool_type
enum for heap memory types
Values
Macros
AR_HEAP_TAG_DEFAULT
default heap memory tag ASCII characters: âLASOâ->âOSALâ