diff options
author | Mike Pall <mike> | 2017-04-07 12:24:26 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2017-04-07 12:24:26 +0200 |
commit | ef23b70eb64f67c6e6606098baad3cb0ba98d1c3 (patch) | |
tree | 0499f2cd8215e92f260d33d52e333e04d45598ff /src/lua.h | |
parent | c67a0982920b94f081a5e2a4e65efc6851e78500 (diff) | |
download | luajit-ef23b70eb64f67c6e6606098baad3cb0ba98d1c3.tar.gz luajit-ef23b70eb64f67c6e6606098baad3cb0ba98d1c3.tar.bz2 luajit-ef23b70eb64f67c6e6606098baad3cb0ba98d1c3.zip |
From Lua 5.2: Add lua_copy().
Contributed by François Perrad.
Diffstat (limited to 'src/lua.h')
-rw-r--r-- | src/lua.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -349,6 +349,7 @@ 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 | LUA_API const lua_Number *lua_version (lua_State *L); |
352 | LUA_API void lua_copy (lua_State *L, int fromidx, int toidx); | ||
352 | 353 | ||
353 | 354 | ||
354 | struct lua_Debug { | 355 | struct lua_Debug { |