PS2SDK
PS2 Homebrew Libraries
heaplib.h File Reference
#include <types.h>
#include <irx.h>
+ Include dependency graph for heaplib.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define heaplib_IMPORTS_start   DECLARE_IMPORT_TABLE(heaplib, 1, 1)
 
#define heaplib_IMPORTS_end   END_IMPORT_TABLE
 
#define I_CreateHeap   DECLARE_IMPORT(4, CreateHeap)
 
#define I_DeleteHeap   DECLARE_IMPORT(5, DeleteHeap)
 
#define I_AllocHeapMemory   DECLARE_IMPORT(6, AllocHeapMemory)
 
#define I_FreeHeapMemory   DECLARE_IMPORT(7, FreeHeapMemory)
 
#define I_HeapTotalFreeSize   DECLARE_IMPORT(8, HeapTotalFreeSize)
 
#define I_HeapPrepare   DECLARE_IMPORT(11, HeapPrepare)
 
#define I_HeapChunkSize   DECLARE_IMPORT(15, HeapChunkSize)
 

Functions

void * CreateHeap (int heapblocksize, int flag)
 
void DeleteHeap (void *heap)
 
void * AllocHeapMemory (void *heap, size_t nbytes)
 
int FreeHeapMemory (void *heap, void *ptr)
 
int HeapTotalFreeSize (void *heap)
 
void HeapPrepare (void *mem, int size)
 
int HeapChunkSize (void *chunk)
 

Detailed Description

Heap library.

Definition in file heaplib.h.