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
20 destroyed. This should only be used by implementations implementing
21 their own read callbacks.
22
24 MongoDB, Inc
25
27 2017-present, MongoDB, Inc
28
29
30
31
321.14.0 Feb 22, 2019 BSON_READER_SET_DESTROY_FUNC(3)