RetroArch
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
CrtAllocator Class Reference

C-runtime library allocator. More...

#include <allocators.h>

Public Member Functions

voidMalloc (size_t size)
 
voidRealloc (void *originalPtr, size_t originalSize, size_t newSize)
 

Static Public Member Functions

static void Free (void *ptr)
 

Static Public Attributes

static const bool kNeedFree = true
 

Detailed Description

C-runtime library allocator.

This class is just wrapper for standard C library memory routines.

Note
implements Allocator concept

Member Function Documentation

◆ Free()

static void CrtAllocator::Free ( void ptr)
inlinestatic
Here is the call graph for this function:

◆ Malloc()

void* CrtAllocator::Malloc ( size_t  size)
inline
Here is the call graph for this function:

◆ Realloc()

void* CrtAllocator::Realloc ( void originalPtr,
size_t  originalSize,
size_t  newSize 
)
inline
Here is the call graph for this function:

Member Data Documentation

◆ kNeedFree

const bool CrtAllocator::kNeedFree = true
static

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