./
Coverage:
low: ≥ 0%
medium: ≥ 75.0%
high: ≥ 90.0%
Lines:
4 / 4
100.0%
Branches:
-
-%
Functions:
2 / 2
100.0%

src/util/version.cpp
Line Branch Exec Source
1 // SPDX-License-Identifier: BSD-3-Clause
2
3 #include "terraingen/util/version.h"
4
5 namespace terraingen {
6
7 2 Version GetVersion() {
8 2 return Version{TERRAINGEN_VERSION_MAJOR, TERRAINGEN_VERSION_MINOR, TERRAINGEN_VERSION_PATCH};
9 }
10
11 2 int GetApiVersion() {
12 2 return TERRAINGEN_API_VERSION;
13 }
14
15 } // namespace terraingen
16