0
0
mirror of https://github.com/yse/easy_profiler.git synced 2024-12-27 00:31:02 +08:00
This commit is contained in:
Victor Zarubkin 2016-11-13 16:47:52 +03:00 committed by Sergey Yagovtsev
parent e5041a9b2b
commit 493000cef4
2 changed files with 4 additions and 3 deletions

View File

@ -41,8 +41,8 @@ along with this program.If not, see <http://www.gnu.org/licenses/>.
#endif
namespace profiler {
const uint8_t EASY_VERSION_MAJOR = 0;
const uint8_t EASY_VERSION_MINOR = 1;
const uint8_t EASY_VERSION_MAJOR = 1;
const uint8_t EASY_VERSION_MINOR = 0;
const uint16_t EASY_VERSION_REV = 0;
const uint32_t EASY_FULL_VERSION = ((uint32_t)EASY_VERSION_MAJOR << 24) | ((uint32_t)EASY_VERSION_MINOR << 16) | (uint32_t)EASY_VERSION_REV;
}

View File

@ -70,7 +70,8 @@
#define EASY_FULL_VER(Major, Minor, Rev) (((uint32_t)(Major) << 24) | ((uint32_t)(Minor) << 16) | (uint32_t)(Rev))
const uint32_t COMPATIBLE_VERSIONS[] = {
::profiler::EASY_FULL_VERSION
::profiler::EASY_FULL_VERSION,
EASY_FULL_VER(0, 1, 0)
};
const uint16_t COMPATIBLE_VERSIONS_NUM = sizeof(COMPATIBLE_VERSIONS) / sizeof(uint32_t);