1BSON_ITER_INT32(3) libbson BSON_ITER_INT32(3)
23
4
SYNOPSIS
6#define BSON_ITER_HOLDS_INT32(iter) (bson_iter_type ((iter)) == BSON_TYPE_INT32)
78
int32_t
9bson_iter_int32 (const bson_iter_t *iter);
10
PARAMETERS
12• iter: A bson_iter_t.
13
DESCRIPTION
15Fetches the value from a BSON_TYPE_INT32 element. You should verify
16that the field is a BSON_TYPE_INT32 field before calling this function.
17
RETURNS
19A 32-bit integer.
20
AUTHOR
22MongoDB, Inc
23
COPYRIGHT
252017-present, MongoDB, Inc
2627
28
29
30
1.25.1 Nov 08, 2023 BSON_ITER_INT32(3)