From Lua 5.2: Add luaL_testudata().

Contributed by François Perrad.
This commit is contained in:
Mike Pall
2017-04-07 12:31:06 +02:00
parent f2e2a3f757
commit cde968f91f
2 changed files with 10 additions and 3 deletions

View File

@@ -88,6 +88,7 @@ LUALIB_API void luaL_traceback (lua_State *L, lua_State *L1, const char *msg,
LUALIB_API void (luaL_setfuncs) (lua_State *L, const luaL_Reg *l, int nup);
LUALIB_API void (luaL_pushmodule) (lua_State *L, const char *modname,
int sizehint);
LUALIB_API void *(luaL_testudata) (lua_State *L, int ud, const char *tname);
/*