bson_realloc_func man page

bson_realloc_func ā€” bson_realloc_func

Synopsis

typedef void *(*bson_realloc_func) (void *mem, size_t num_bytes, void *ctx);

Parameters

Description

This is a prototype for pluggable realloc functions used through the Libbson library. If you wish to use a custom allocator this is one way to do it. Additionally, bson_realloc_ctx() is a default implementation of this prototype.

Author

MongoDB, Inc

Info

Aug 10, 2017 1.7.0 Libbson