Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
myjson::MyAllocator Class Reference

Public Member Functions

void * Malloc (size_t _size)
 
void * Realloc (void *_org_p, size_t _org_size, size_t _new_size)
 

Static Public Member Functions

static void Free (void *_p)
 

Static Public Attributes

static const bool kNeedFree = true
 

Detailed Description

Definition at line 1605 of file pointertest.cpp.

Member Function Documentation

◆ Free()

static void myjson::MyAllocator::Free ( void * _p)
inlinestatic

Definition at line 1611 of file pointertest.cpp.

1611{ return free(_p); }

◆ Malloc()

void * myjson::MyAllocator::Malloc ( size_t _size)
inline

Definition at line 1609 of file pointertest.cpp.

1609{ return malloc(_size); }

◆ Realloc()

void * myjson::MyAllocator::Realloc ( void * _org_p,
size_t _org_size,
size_t _new_size )
inline

Definition at line 1610 of file pointertest.cpp.

1610{ (void)_org_size; return realloc(_org_p, _new_size); }

Member Data Documentation

◆ kNeedFree

const bool myjson::MyAllocator::kNeedFree = true
static

Definition at line 1608 of file pointertest.cpp.


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