mongoc_get_major_version()

Synopsis

int
mongoc_get_major_version (void);

Returns

The value of MONGOC_MAJOR_VERSION when libmongoc was compiled.