bson_get_major_version(3) Get the first number in libbson's MAJOR.MINOR.MICRO release version.

SYNOPSIS


int
bson_get_major_version (void);

DESCRIPTION

Get the first number in libbson's MAJOR.MINOR.MICRO release version.

RETURNS

The value of BSON_MAJOR_VERSION when Libbson was compiled.

COLOPHON

This page is part of libbson. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.