bson_reader_set_destroy_func - Man Page
bson_reader_set_destroy_func()
Synopsis
void bson_reader_set_destroy_func (bson_reader_t *reader, bson_reader_destroy_func_t func);
Parameters
- reader: A bson_reader_t.
- func: A bson_reader_destroy_func_t.
Description
Allows for setting a callback to be executed when a reader is destroyed. This should only be used by implementations implementing their own read callbacks.
Author
MongoDB, Inc
Copyright
2017-present, MongoDB, Inc
Info
Jan 19, 2023 1.23.2 libbson