My Project
Version.h
1 //
2 // DO NOT EDIT Version.h (this file)! It is generated from Version.h.in.
3 //
4 
5 /*
6  * Copyright (C) 2013 Canonical Ltd
7  *
8  * This program is free software: you can redistribute it and/or modify
9  * it under the terms of the GNU Lesser General Public License version 3 as
10  * published by the Free Software Foundation.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public License
18  * along with this program. If not, see <http://www.gnu.org/licenses/>.
19  *
20  * Authored by: Michi Henning <michi.henning@canonical.com>
21  */
22 
23 #include <unity/SymbolExport.h>
24 
25 #ifndef UNITY_API_VERSION_H
26 #define UNITY_API_VERSION_H
27 
28 #define UNITY_API_VERSION_MAJOR 0
29 #define UNITY_API_VERSION_MINOR 1
30 #define UNITY_API_VERSION_MICRO 5
31 
32 #define UNITY_API_VERSION_STRING "0.1.5"
33 
37 namespace unity
38 {
39 
43 namespace api
44 {
45 
67 UNITY_API
70 int major_version();
71 
77 UNITY_API
80 int minor_version();
81 
87 UNITY_API
90 int micro_version();
91 
98 UNITY_API
101 const char* str(); // Returns "major.minor.micro"
102 
104 
105 // TODO: Add methods to report compiler version and compiler flags
106 
107 } // namespace api
108 
109 } // namespace unity
110 
111 #endif
int minor_version()
Returns the minor version number of the Unity API library.
Definition: Version.cpp:36
int major_version()
Returns the major version number of the Unity API library.
Definition: Version.cpp:30
Top-level namespace for all things Unity-related.
Definition: Version.h:37
const char * str()
Returns the Unity API version as a string in the format ...
Definition: Version.cpp:48
int micro_version()
Returns the micro version number of the Unity API library.
Definition: Version.cpp:42