|
protobuf-c 1.5.1
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. | |
| void(* | free )(void *allocator_data, void *pointer) |
| Function to free memory. | |
| void * | allocator_data |
Opaque pointer passed to alloc and free functions. | |
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.