SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
Static Public Member Functions | Static Public Attributes | List of all members
MR::NewDeleteAllocator Class Reference

Static Public Member Functions

static void * alloc (MEMAllocator *, u32)
 
static void free (MEMAllocator *, void *)
 

Static Public Attributes

static MEMAllocatorFunc sAllocatorFunc
 
static MEMAllocator sAllocator = { &sAllocatorFunc }
 

Detailed Description

Definition at line 49 of file MemoryUtil.hpp.

Member Function Documentation

◆ alloc()

void * MR::NewDeleteAllocator::alloc ( MEMAllocator * pAllocator,
u32 size )
static

Definition at line 44 of file MemoryUtil.cpp.

◆ free()

void MR::NewDeleteAllocator::free ( MEMAllocator * pAllocator,
void * pData )
static

Definition at line 48 of file MemoryUtil.cpp.

Member Data Documentation

◆ sAllocatorFunc

MEMAllocatorFunc MR::NewDeleteAllocator::sAllocatorFunc
static
Initial value:
= {
NewDeleteAllocator::alloc,
NewDeleteAllocator::free,
}

Definition at line 54 of file MemoryUtil.hpp.

◆ sAllocator

MEMAllocator MR::NewDeleteAllocator::sAllocator = { &sAllocatorFunc }
static

Definition at line 56 of file MemoryUtil.hpp.