Digimon World 3 decomp
The European version, SLES_039.36
Loading...
Searching...
No Matches
Heap Struct Reference

The heap (HEAP) More...

#include <engine/heap.h>

Collaboration diagram for Heap:
[legend]

Data Fields

s32 size
 
struct MemBlock * first
 
struct MemBlock * end
 
void(* init )()
 
void(* free )(void *ptr)
 
void(* freeByTag )()
 
void *(* alloc )(s32 size, s32 tag)
 
void *(* allocHigh )(s32 size, s32 tag)
 from the end of the heap
 
void *(* allocZeroed )(s32 size, s32 tag)
 
void(* zero )(void *ptr, s32 size)
 
void(* fill )(void *ptr, s32 value, s32 size)
 
void(* lock )()
 
void(* nop )()
 

Detailed Description

The heap (HEAP)

Definition at line 22 of file heap.h.

Field Documentation

◆ size

s32 Heap::size

Definition at line 23 of file heap.h.

Referenced by initHeap().

◆ first

struct MemBlock* Heap::first

Definition at line 24 of file heap.h.

Referenced by freeMemByTag(), initHeap(), tryAllocMem(), and tryAllocMemHigh().

◆ end

struct MemBlock* Heap::end

Definition at line 25 of file heap.h.

Referenced by initHeap(), and tryAllocMemHigh().

◆ init

void(* Heap::init) ()

Definition at line 26 of file heap.h.

Referenced by main().

◆ free

◆ freeByTag

void(* Heap::freeByTag) ()

Definition at line 28 of file heap.h.

Referenced by main().

◆ alloc

◆ allocHigh

void *(* Heap::allocHigh) (s32 size, s32 tag)

from the end of the heap

Definition at line 30 of file heap.h.

Referenced by allocPrimBuffers(), FIELDSTG_createStream(), and startField().

◆ allocZeroed

void *(* Heap::allocZeroed) (s32 size, s32 tag)

◆ zero

◆ fill

void(* Heap::fill) (void *ptr, s32 value, s32 size)

Definition at line 33 of file heap.h.

Referenced by initPad().

◆ lock

void(* Heap::lock) ()

Definition at line 34 of file heap.h.

Referenced by updateSoundLoading().

◆ nop

void(* Heap::nop) ()

Definition at line 35 of file heap.h.


The documentation for this struct was generated from the following file: