From 43d16e123da847a371f8fafb1b795ba9405127cf Mon Sep 17 00:00:00 2001 From: Oscar Lim Date: Thu, 11 Feb 2016 00:08:22 -0800 Subject: Release v0.1.0 --- src/core.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/core.c b/src/core.c index d2acb95..31e768b 100644 --- a/src/core.c +++ b/src/core.c @@ -1,6 +1,8 @@ #include #include +#define LUASYSTEM_VERSION "LuaSystem 0.1.0" + #ifdef _WIN32 #define LUAEXPORT __declspec(dllexport) #else @@ -14,6 +16,9 @@ void time_open(lua_State *L); *-------------------------------------------------------------------------*/ LUAEXPORT int luaopen_system_core(lua_State *L) { lua_newtable(L); + lua_pushstring(L, "_VERSION"); + lua_pushstring(L, LUASYSTEM_VERSION); + lua_rawset(L, -3); time_open(L); return 1; } -- cgit v1.2.3-55-g6feb