An instance of the memory callback API implementation. More...
#include "swmemapi.h"
Data Fields | |
const sw_memory_api * | implementation |
Pointer to the API implementation. More... | |
An instance of the memory callback API implementation.
There is only one public field in this structure, which is the required implementation pointer. The RIP will subclass instances to add private instance specific data.
The RIP manages the memory for this structure. Modules should not attempt to copy the structure, or access any data except the public fields.
const sw_memory_api* sw_memory_instance::implementation |
Pointer to the API implementation.
API methods for a memory allocator instance should always be called by indirecting through the instance's implementation field.