forked from DFHack/dfhack
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Used for BuildMaster builds, for example
- Loading branch information
Showing
10 changed files
with
40 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,36 @@ | ||
#pragma once | ||
namespace DFHack { | ||
namespace Version { | ||
const char *dfhack_version(); | ||
const char *df_version(); | ||
const char *dfhack_version(); | ||
const char *dfhack_release(); | ||
const char *dfhack_build_id(); | ||
int dfhack_abi_version(); | ||
|
||
const char *git_description(); | ||
const char *git_commit(); | ||
const char *git_xml_commit(); | ||
const char *git_xml_expected_commit(); | ||
bool git_xml_match(); | ||
|
||
bool is_release(); | ||
bool is_prerelease(); | ||
} | ||
} | ||
|
||
#ifndef NO_DFHACK_VERSION_MACROS | ||
#define DF_VERSION (DFHack::Version::df_version()) | ||
#define DFHACK_RELEASE (DFHack::Version::dfhack_release()) | ||
#define DFHACK_VERSION (DFHack::Version::dfhack_version()) | ||
#define DFHACK_RELEASE (DFHack::Version::dfhack_release()) | ||
#define DFHACK_BUILD_ID (DFHack::Version::dfhack_build_id()) | ||
#define DFHACK_ABI_VERSION (DFHack::Version::dfhack_abi_version()) | ||
|
||
#define DFHACK_GIT_DESCRIPTION (DFHack::Version::git_description()) | ||
#define DFHACK_GIT_COMMIT (DFHack::Version::git_commit()) | ||
#define DFHACK_GIT_XML_COMMIT (DFHack::Version::git_xml_commit()) | ||
#define DFHACK_GIT_XML_EXPECTED_COMMIT (DFHack::Version::git_xml_expected_commit()) | ||
#define DFHACK_GIT_XML_MATCH (DFHack::Version::git_xml_match()) | ||
|
||
#define DFHACK_IS_RELEASE (DFHack::Version::is_release()) | ||
#define DFHACK_IS_PRERELEASE (DFHack::Version::is_prerelease()) | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters