File Coverage

bson/bson-version.c
Criterion Covered Total %
statement 0 6 0.0
branch n/a
condition n/a
subroutine n/a
pod n/a
total 0 6 0.0


line stmt bran cond sub pod time code
1             /*
2             * Copyright 2014 MongoDB, Inc.
3             *
4             * Licensed under the Apache License, Version 2.0 (the "License");
5             * you may not use this file except in compliance with the License.
6             * You may obtain a copy of the License at
7             *
8             * http://www.apache.org/licenses/LICENSE-2.0
9             *
10             * Unless required by applicable law or agreed to in writing, software
11             * distributed under the License is distributed on an "AS IS" BASIS,
12             * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13             * See the License for the specific language governing permissions and
14             * limitations under the License.
15             */
16              
17              
18             #include "bson-version.h"
19              
20              
21             int
22 0           bson_get_major_version (void)
23             {
24 0           return BSON_MAJOR_VERSION;
25             }
26              
27              
28             int
29 0           bson_get_minor_version (void)
30             {
31 0           return BSON_MINOR_VERSION;
32             }
33              
34              
35             int
36 0           bson_get_micro_version (void)
37             {
38 0           return BSON_MICRO_VERSION;
39             }