1BSON_READER_SET_DESTROY_FUNC(3) libbson BSON_READER_SET_DESTROY_FUNC(3)
2
3
4
6 bson_reader_set_destroy_func - bson_reader_set_destroy_func()
7
9 void
10 bson_reader_set_destroy_func (bson_reader_t *reader,
11 bson_reader_destroy_func_t func);
12
14 • reader: A bson_reader_t.
15
16 • func: A bson_reader_destroy_func_t.
17
19 Allows for setting a callback to be executed when a reader is de‐
20 stroyed. This should only be used by implementations implementing their
21 own read callbacks.
22
24 MongoDB, Inc
25
27 2017-present, MongoDB, Inc
28
29
30
31
321.20.0 Nov 18, 2021 BSON_READER_SET_DESTROY_FUNC(3)