diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lfs.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -62,6 +62,8 @@ | |||
62 | 62 | ||
63 | #include "lfs.h" | 63 | #include "lfs.h" |
64 | 64 | ||
65 | #define LFS_VERSION "1.6.2" | ||
66 | |||
65 | #if LUA_VERSION_NUM < 502 | 67 | #if LUA_VERSION_NUM < 502 |
66 | # define luaL_newlib(L,l) (lua_newtable(L), luaL_register(L,NULL,l)) | 68 | # define luaL_newlib(L,l) (lua_newtable(L), luaL_register(L,NULL,l)) |
67 | #endif | 69 | #endif |
@@ -850,7 +852,7 @@ static void set_info (lua_State *L) { | |||
850 | lua_pushliteral (L, "LuaFileSystem is a Lua library developed to complement the set of functions related to file systems offered by the standard Lua distribution"); | 852 | lua_pushliteral (L, "LuaFileSystem is a Lua library developed to complement the set of functions related to file systems offered by the standard Lua distribution"); |
851 | lua_settable (L, -3); | 853 | lua_settable (L, -3); |
852 | lua_pushliteral (L, "_VERSION"); | 854 | lua_pushliteral (L, "_VERSION"); |
853 | lua_pushliteral (L, "LuaFileSystem 1.6.0"); | 855 | lua_pushliteral (L, "LuaFileSystem "LFS_VERSION); |
854 | lua_settable (L, -3); | 856 | lua_settable (L, -3); |
855 | } | 857 | } |
856 | 858 | ||