libsignal-protocol-c
master
|
#include <protobuf-c.h>
Public Attributes | |
void *(* | alloc )(void *allocator_data, size_t size) |
void(* | free )(void *allocator_data, void *pointer) |
void * | allocator_data |
Structure for defining a custom memory allocator.
void*(* ProtobufCAllocator::alloc) (void *allocator_data, size_t size) |
Function to allocate memory.
void* ProtobufCAllocator::allocator_data |
Opaque pointer passed to alloc
and free
functions.
void(* ProtobufCAllocator::free) (void *allocator_data, void *pointer) |
Function to free memory.