#include <types.h>
#include <irx.h>
Go to the source code of this file.
Heap library.
Definition in file heaplib.h.
◆ heaplib_IMPORTS_start
#define heaplib_IMPORTS_start DECLARE_IMPORT_TABLE(heaplib, 1, 1) |
◆ heaplib_IMPORTS_end
#define heaplib_IMPORTS_end END_IMPORT_TABLE |
◆ I_CreateHeap
#define I_CreateHeap DECLARE_IMPORT(4, CreateHeap) |
◆ I_DeleteHeap
#define I_DeleteHeap DECLARE_IMPORT(5, DeleteHeap) |
◆ I_AllocHeapMemory
#define I_AllocHeapMemory DECLARE_IMPORT(6, AllocHeapMemory) |
◆ I_FreeHeapMemory
#define I_FreeHeapMemory DECLARE_IMPORT(7, FreeHeapMemory) |
◆ I_HeapTotalFreeSize
#define I_HeapTotalFreeSize DECLARE_IMPORT(8, HeapTotalFreeSize) |
◆ I_HeapPrepare
#define I_HeapPrepare DECLARE_IMPORT(11, HeapPrepare) |
◆ I_HeapChunkSize
#define I_HeapChunkSize DECLARE_IMPORT(15, HeapChunkSize) |
◆ CreateHeap()
void * CreateHeap |
( |
int |
heapblocksize, |
|
|
int |
flag |
|
) |
| |
◆ DeleteHeap()
void DeleteHeap |
( |
void * |
heap | ) |
|
◆ AllocHeapMemory()
void * AllocHeapMemory |
( |
void * |
heap, |
|
|
size_t |
nbytes |
|
) |
| |
◆ FreeHeapMemory()
int FreeHeapMemory |
( |
void * |
heap, |
|
|
void * |
ptr |
|
) |
| |
◆ HeapTotalFreeSize()
int HeapTotalFreeSize |
( |
void * |
heap | ) |
|
◆ HeapPrepare()
void HeapPrepare |
( |
void * |
mem, |
|
|
int |
size |
|
) |
| |
◆ HeapChunkSize()
int HeapChunkSize |
( |
void * |
chunk | ) |
|