![]() |
![]()
| ![]() |
![]()
SYNOPSIStypedef struct _bson_mem_vtable_t { PARAMETERS
DESCRIPTIONThis function shall install a new memory allocator to be used by Libbson. For backwards compatibility, if vtable->aligned_alloc is not set, calls to vtable->aligned_alloc will use vtable->malloc instead. WARNING: This function MUST be called at the beginning of
the process. Failure to do so will result in memory being freed by the wrong
allocator.
AUTHORMongoDB, Inc COPYRIGHT2009-present, MongoDB, Inc.
|