23 lines
630 B
C
Raw Normal View History

#ifndef VERSION_H
#define VERSION_H
#define BAGTHREADPOSITION_VERSION_STRING "1.0.0"
#define BAGTHREADPOSITION_BUILD_STRING "1"
#define BAGTHREADPOSITION_FULL_VERSION_STRING "V" BAGTHREADPOSITION_VERSION_STRING "_" BAGTHREADPOSITION_BUILD_STRING
// 获取版本信息的便捷函数
inline const char* GetBagThreadPositionVersion() {
return BAGTHREADPOSITION_VERSION_STRING;
}
inline const char* GetBagThreadPositionBuild() {
return BAGTHREADPOSITION_BUILD_STRING;
}
inline const char* GetBagThreadPositionFullVersion() {
return BAGTHREADPOSITION_FULL_VERSION_STRING;
}
#endif // VERSION_H