RetroArch
Classes | Typedefs | Functions
blockheap.h File Reference
#include <wiiu/types.h>
#include "memheap.h"
Include dependency graph for blockheap.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  MEMBlockHeapTracking
 
struct  MEMBlockHeapBlock
 
struct  MEMBlockHeap
 

Typedefs

typedef struct MEMBlockHeapBlock MEMBlockHeapBlock
 
typedef struct MEMBlockHeapTracking MEMBlockHeapTracking
 
typedef struct MEMBlockHeap MEMBlockHeap
 

Functions

MEMBlockHeapMEMInitBlockHeap (MEMBlockHeap *heap, void *start, void *end, MEMBlockHeapTracking *blocks, uint32_t size, uint32_t flags)
 
voidMEMDestroyBlockHeap (MEMBlockHeap *heap)
 
int MEMAddBlockHeapTracking (MEMBlockHeap *heap, MEMBlockHeapTracking *tracking, uint32_t size)
 
voidMEMAllocFromBlockHeapAt (MEMBlockHeap *heap, void *addr, uint32_t size)
 
voidMEMAllocFromBlockHeapEx (MEMBlockHeap *heap, uint32_t size, int32_t align)
 
void MEMFreeToBlockHeap (MEMBlockHeap *heap, void *data)
 
uint32_t MEMGetAllocatableSizeForBlockHeapEx (MEMBlockHeap *heap, int32_t align)
 
uint32_t MEMGetTrackingLeftInBlockHeap (MEMBlockHeap *heap)
 
uint32_t MEMGetTotalFreeSizeForBlockHeap (MEMBlockHeap *heap)
 

Typedef Documentation

◆ MEMBlockHeap

typedef struct MEMBlockHeap MEMBlockHeap

◆ MEMBlockHeapBlock

◆ MEMBlockHeapTracking

Function Documentation

◆ MEMAddBlockHeapTracking()

int MEMAddBlockHeapTracking ( MEMBlockHeap heap,
MEMBlockHeapTracking tracking,
uint32_t  size 
)

◆ MEMAllocFromBlockHeapAt()

void* MEMAllocFromBlockHeapAt ( MEMBlockHeap heap,
void addr,
uint32_t  size 
)

◆ MEMAllocFromBlockHeapEx()

void* MEMAllocFromBlockHeapEx ( MEMBlockHeap heap,
uint32_t  size,
int32_t  align 
)

◆ MEMDestroyBlockHeap()

void* MEMDestroyBlockHeap ( MEMBlockHeap heap)

◆ MEMFreeToBlockHeap()

void MEMFreeToBlockHeap ( MEMBlockHeap heap,
void data 
)

◆ MEMGetAllocatableSizeForBlockHeapEx()

uint32_t MEMGetAllocatableSizeForBlockHeapEx ( MEMBlockHeap heap,
int32_t  align 
)

◆ MEMGetTotalFreeSizeForBlockHeap()

uint32_t MEMGetTotalFreeSizeForBlockHeap ( MEMBlockHeap heap)

◆ MEMGetTrackingLeftInBlockHeap()

uint32_t MEMGetTrackingLeftInBlockHeap ( MEMBlockHeap heap)

◆ MEMInitBlockHeap()

MEMBlockHeap* MEMInitBlockHeap ( MEMBlockHeap heap,
void start,
void end,
MEMBlockHeapTracking blocks,
uint32_t  size,
uint32_t  flags 
)