diff options
author | Mike Pall <mike> | 2017-04-07 12:31:06 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2017-04-07 12:31:06 +0200 |
commit | cde968f91f28a4819e15443a5f32c89daddb4c15 (patch) | |
tree | 465ec656f406328e4c335a46639bed72f4720026 /src/lauxlib.h | |
parent | f2e2a3f757629c520ebcac44ba7fb12cb07e56e2 (diff) | |
download | luajit-cde968f91f28a4819e15443a5f32c89daddb4c15.tar.gz luajit-cde968f91f28a4819e15443a5f32c89daddb4c15.tar.bz2 luajit-cde968f91f28a4819e15443a5f32c89daddb4c15.zip |
From Lua 5.2: Add luaL_testudata().
Contributed by François Perrad.
Diffstat (limited to 'src/lauxlib.h')
-rw-r--r-- | src/lauxlib.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lauxlib.h b/src/lauxlib.h index a8280c20..1ca0d74f 100644 --- a/src/lauxlib.h +++ b/src/lauxlib.h | |||
@@ -88,6 +88,7 @@ LUALIB_API void luaL_traceback (lua_State *L, lua_State *L1, const char *msg, | |||
88 | LUALIB_API void (luaL_setfuncs) (lua_State *L, const luaL_Reg *l, int nup); | 88 | LUALIB_API void (luaL_setfuncs) (lua_State *L, const luaL_Reg *l, int nup); |
89 | LUALIB_API void (luaL_pushmodule) (lua_State *L, const char *modname, | 89 | LUALIB_API void (luaL_pushmodule) (lua_State *L, const char *modname, |
90 | int sizehint); | 90 | int sizehint); |
91 | LUALIB_API void *(luaL_testudata) (lua_State *L, int ud, const char *tname); | ||
91 | 92 | ||
92 | 93 | ||
93 | /* | 94 | /* |