#include <flatbuffers.h>
Public Member Functions | |
virtual uint8_t * | allocate (size_t size) FLATBUFFERS_OVERRIDE |
virtual void | deallocate (uint8_t *p, size_t) FLATBUFFERS_OVERRIDE |
Static Public Member Functions | |
static DefaultAllocator & | instance () |
Definition at line 403 of file flatbuffers.h.
virtual uint8_t* flatbuffers::DefaultAllocator::allocate | ( | size_t | size | ) | [inline, virtual] |
Implements flatbuffers::Allocator.
Definition at line 405 of file flatbuffers.h.
virtual void flatbuffers::DefaultAllocator::deallocate | ( | uint8_t * | p, |
size_t | |||
) | [inline, virtual] |
Implements flatbuffers::Allocator.
Definition at line 409 of file flatbuffers.h.
static DefaultAllocator& flatbuffers::DefaultAllocator::instance | ( | ) | [inline, static] |
Definition at line 413 of file flatbuffers.h.