2026-01-22 12:57:54 +08:00
|
|
|
#ifndef VERSION_H
|
|
|
|
|
#define VERSION_H
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define BAGTHREADPOSITION_VERSION_STRING "1.0.0"
|
2026-02-11 00:53:51 +08:00
|
|
|
#define BAGTHREADPOSITION_BUILD_STRING "4"
|
2026-01-22 12:57:54 +08:00
|
|
|
#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
|