Skip to content

Commit

Permalink
v1.0.16
Browse files Browse the repository at this point in the history
  • Loading branch information
tangzx committed Dec 22, 2020
1 parent 3f88538 commit c37ede5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ elseif(${EMMY_LUA_VERSION} STREQUAL "51")
add_definitions(-DEMMY_LUA_51)
endif()

add_definitions(-DEMMY_CORE_VERSION="1.0.16")

add_subdirectory(third-party/${EMMY_LUA_DIR})
add_subdirectory(third-party/libuv-1.29.0)
add_subdirectory(emmy_core)
Expand Down
2 changes: 1 addition & 1 deletion emmy_core/api/lua_api_loader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,6 @@ extern "C" bool SetupLuaAPI() {
LUA_REGISTRYINDEX = -10000;
LUA_GLOBALSINDEX = -10002;
}
printf("[EMMY]lua version: %d\n", luaVersion);
printf("[EMMY] version: %s, lua version: %d\n", EMMY_CORE_VERSION, luaVersion);
return true;
}
2 changes: 1 addition & 1 deletion emmy_core/emmy_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/
#pragma once

#define EMMY_CORE_VERSION "1.0.0"
//#define EMMY_CORE_VERSION "1.0.0"

#ifdef _MSC_VER
#define EMMY_CORE_EXPORT __declspec(dllexport)
Expand Down

0 comments on commit c37ede5

Please sign in to comment.