Line data Source code
1 : /** \file mxlib.cpp
2 : * \author Jared R. Males
3 : * \brief Implementations of some libarary wide utilities
4 : *
5 : */
6 :
7 : //***********************************************************************//
8 : // Copyright 2021 Jared R. Males (jaredmales@gmail.com)
9 : //
10 : // This file is part of mxlib.
11 : //
12 : // mxlib is free software: you can redistribute it and/or modify
13 : // it under the terms of the GNU General Public License as published by
14 : // the Free Software Foundation, either version 3 of the License, or
15 : // (at your option) any later version.
16 : //
17 : // mxlib is distributed in the hope that it will be useful,
18 : // but WITHOUT ANY WARRANTY; without even the implied warranty of
19 : // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 : // GNU General Public License for more details.
21 : //
22 : // You should have received a copy of the GNU General Public License
23 : // along with mxlib. If not, see <http://www.gnu.org/licenses/>.
24 : //***********************************************************************//
25 :
26 : #include <mxlib_comp_version.h>
27 :
28 : namespace mx
29 : {
30 :
31 1 : const char *mxlib_comp_current_branch()
32 : {
33 1 : return MXLIB_COMP_BRANCH;
34 : }
35 :
36 1 : const char *mxlib_comp_current_sha1()
37 : {
38 1 : return MXLIB_COMP_CURRENT_SHA1;
39 : }
40 :
41 1 : const bool mxlib_comp_repo_modified()
42 : {
43 1 : return MXLIB_COMP_REPO_MODIFIED;
44 : }
45 :
46 : } // namespace mx
|