|
protobuf-c
1.3.3
Protocol Buffers implementation in C
|
Structure for defining a custom memory allocator. More...
Data Fields | |
| void *(* | alloc )(void *allocator_data, size_t size) |
| Function to allocate memory. More... | |
| void(* | free )(void *allocator_data, void *pointer) |
| Function to free memory. More... | |
| void * | allocator_data |
Opaque pointer passed to alloc and free functions. More... | |
Structure for defining a custom memory allocator.
| void*(* ProtobufCAllocator::alloc) (void *allocator_data, size_t size) |
Function to allocate memory.
| void(* ProtobufCAllocator::free) (void *allocator_data, void *pointer) |
Function to free memory.
| void* ProtobufCAllocator::allocator_data |
Opaque pointer passed to alloc and free functions.