0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Version.cc
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2007-2015 Hypertable, Inc.
3  *
4  * This file is part of Hypertable.
5  *
6  * Hypertable is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License
8  * as published by the Free Software Foundation; either version 3
9  * of the License, or any later version.
10  *
11  * Hypertable is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
19  * 02110-1301, USA.
20  */
21 
26 #include "Common/Compat.h"
27 #include "Common/Version.h"
28 
29 namespace Hypertable {
30 
31 const int version_major = HT_VERSION_MAJOR;
32 const int version_minor = HT_VERSION_MINOR;
33 const int version_micro = HT_VERSION_MICRO;
34 const int version_patch = HT_VERSION_PATCH;
35 const std::string version_misc_suffix = HT_VERSION_MISC_SUFFIX;
36 
37 const char *version_string() {
38  return HT_VERSION_STRING;
39 }
40 
41 } // namespace Hypertable
const int version_micro
Definition: Version.cc:33
const std::string version_misc_suffix
Definition: Version.cc:35
Compatibility Macros for C/C++.
const int version_minor
Definition: Version.cc:32
Hypertable definitions
const int version_major
Definition: Version.cc:31
const int version_patch
Definition: Version.cc:34
const char * version_string()
Definition: Version.cc:37