MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / getMajorMinorRevVersion

Function getMajorMinorRevVersion

src/date/buildDate.cpp:140–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138}
139
140const char* getMajorMinorRevVersion() {
141 static std::string version = "";
142 if (!version.size()) {
143 std::ostringstream versionStream;
144 versionStream << BZ_MAJOR_VERSION << "." << BZ_MINOR_VERSION << "." << BZ_REV;
145 version = versionStream.str();
146 }
147 return version.c_str();
148}
149
150const char* getAppVersion() {
151 static std::string appVersion = "";

Callers 3

stateConnectMethod · 0.85
GetVersionMethod · 0.85
getAppVersionFunction · 0.85

Calls 3

strMethod · 0.80
c_strMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected