Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
allocator.h File Reference

Go to the source code of this file.

Classes

struct  MEMAllocatorFunc
 
struct  MEMAllocator
 

Typedefs

typedef struct MEMAllocator MEMAllocator
 
typedef void *(* MEMFuncAllocatorAlloc) (MEMAllocator *pAllocator, u32 size)
 
typedef void(* MEMFuncAllocatorFree) (MEMAllocator *pAllocator, void *memBlock)
 
typedef struct MEMAllocatorFunc MEMAllocatorFunc
 

Functions

void * MEMAllocFromAllocator (MEMAllocator *, u32)
 
void MEMFreeToAllocator (MEMAllocator *, void *)
 
void MEMInitAllocatorForExpHeap (MEMAllocator *, MEMHeapHandle, int)
 
void MEMInitAllocatorForFrmHeap (MEMAllocator *allocator, struct MEMiHeapHead *heap, s32 align)
 

Typedef Documentation

◆ MEMAllocator

typedef struct MEMAllocator MEMAllocator

◆ MEMAllocatorFunc

typedef struct MEMAllocatorFunc MEMAllocatorFunc

◆ MEMFuncAllocatorAlloc

typedef void *(* MEMFuncAllocatorAlloc) (MEMAllocator *pAllocator, u32 size)

◆ MEMFuncAllocatorFree

typedef void(* MEMFuncAllocatorFree) (MEMAllocator *pAllocator, void *memBlock)

Function Documentation

◆ MEMAllocFromAllocator()

void * MEMAllocFromAllocator ( MEMAllocator * pAllocator,
u32 size )

◆ MEMFreeToAllocator()

void MEMFreeToAllocator ( MEMAllocator * pAllocator,
void * pBlock )

◆ MEMInitAllocatorForExpHeap()

void MEMInitAllocatorForExpHeap ( MEMAllocator * pAllocator,
MEMHeapHandle handle,
int align )

◆ MEMInitAllocatorForFrmHeap()

void MEMInitAllocatorForFrmHeap ( MEMAllocator * allocator,
struct MEMiHeapHead * heap,
s32 align )