Choco OS
V.0.16.9.0
Join to the chocolate world
|
identifier for allocations More...
#include <oc_stdlib.h>
Data Fields | |
const char * | Name |
MemoryEventHandler_t | EventHandler |
MemoryEventFlags_t | EventFlags |
oC_MemorySize_t | Limit |
The type is for storing informations about module, that want to allocate memory. It should be defined as constant variable to save the memory. Each allocation of memory needs the allocator of this type with correct values.
Definition at line 159 of file oc_stdlib.h.
MemoryEventFlags_t EventFlags |
List of events, that should be turned on for this allocator. Flags are joined with 'OR' operation.
Definition at line 163 of file oc_stdlib.h.
MemoryEventHandler_t EventHandler |
Function, that should be called, when some event occurs. It can be set to NULL if not used
Definition at line 162 of file oc_stdlib.h.
oC_MemorySize_t Limit |
Limit of size of memory allocations - set it to 0 if not used
Definition at line 164 of file oc_stdlib.h.
const char* Name |
Printable name of the allocator (for printing to user)
Definition at line 161 of file oc_stdlib.h.