diff options
author | Mike Pall <mike> | 2017-04-07 12:21:41 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2017-04-07 12:21:41 +0200 |
commit | c67a0982920b94f081a5e2a4e65efc6851e78500 (patch) | |
tree | a9e36fbe2e0753caa82c207ec4392c278f75f106 /src/lua.h | |
parent | 9c685f7003388725c91ef38627113015676b6d65 (diff) | |
download | luajit-c67a0982920b94f081a5e2a4e65efc6851e78500.tar.gz luajit-c67a0982920b94f081a5e2a4e65efc6851e78500.tar.bz2 luajit-c67a0982920b94f081a5e2a4e65efc6851e78500.zip |
From Lua 5.2: Add lua_version().
Contributed by François Perrad.
Diffstat (limited to '')
-rw-r--r-- | src/lua.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -348,6 +348,7 @@ LUA_API void *lua_upvalueid (lua_State *L, int idx, int n); | |||
348 | LUA_API void lua_upvaluejoin (lua_State *L, int idx1, int n1, int idx2, int n2); | 348 | LUA_API void lua_upvaluejoin (lua_State *L, int idx1, int n1, int idx2, int n2); |
349 | LUA_API int lua_loadx (lua_State *L, lua_Reader reader, void *dt, | 349 | LUA_API int lua_loadx (lua_State *L, lua_Reader reader, void *dt, |
350 | const char *chunkname, const char *mode); | 350 | const char *chunkname, const char *mode); |
351 | LUA_API const lua_Number *lua_version (lua_State *L); | ||
351 | 352 | ||
352 | 353 | ||
353 | struct lua_Debug { | 354 | struct lua_Debug { |