void
Contents
Copyright
2009-present, MongoDB, Inc.
1.30.4 Jun 08, 2025 BSON_READER_SET_DESTROY_FUNC(3)
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.
Parameters
• reader: A bson_reader_t.
• func: A bson_reader_destroy_func_t.
Synopsis
void
bson_reader_set_destroy_func (bson_reader_t *reader,
bson_reader_destroy_func_t func);
