aboutsummaryrefslogtreecommitdiff
path: root/src/lua.h
diff options
context:
space:
mode:
authorMike Pall <mike>2017-04-07 12:24:26 +0200
committerMike Pall <mike>2017-04-07 12:24:26 +0200
commitef23b70eb64f67c6e6606098baad3cb0ba98d1c3 (patch)
tree0499f2cd8215e92f260d33d52e333e04d45598ff /src/lua.h
parentc67a0982920b94f081a5e2a4e65efc6851e78500 (diff)
downloadluajit-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lua.h b/src/lua.h
index f067483a..0c653f56 100644
--- a/src/lua.h
+++ b/src/lua.h
@@ -349,6 +349,7 @@ LUA_API void lua_upvaluejoin (lua_State *L, int idx1, int n1, int idx2, int n2);
349LUA_API int lua_loadx (lua_State *L, lua_Reader reader, void *dt, 349LUA_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);
351LUA_API const lua_Number *lua_version (lua_State *L); 351LUA_API const lua_Number *lua_version (lua_State *L);
352LUA_API void lua_copy (lua_State *L, int fromidx, int toidx);
352 353
353 354
354struct lua_Debug { 355struct lua_Debug {