Move get_dfhack_version() to a separate namespace and add a few other version-related functions
parent
9b6d8d2799
commit
786581689f
@ -1,2 +1,8 @@
|
||||
#include "DFHackVersion.h"
|
||||
const char *get_dfhack_version() { return DFHACK_VERSION; }
|
||||
namespace DFHack {
|
||||
namespace Version {
|
||||
const char *dfhack_version() { return DFHACK_VERSION; }
|
||||
const char *df_version() { return DF_VERSION; }
|
||||
const char *dfhack_release() { return DFHACK_RELEASE; }
|
||||
}
|
||||
}
|
||||
|
@ -1 +1,7 @@
|
||||
const char *get_dfhack_version();
|
||||
namespace DFHack {
|
||||
namespace Version {
|
||||
const char *dfhack_version();
|
||||
const char *df_version();
|
||||
const char *dfhack_release();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue