tname 61 lib/lua/lauxlib.c LUALIB_API int luaL_typerror (lua_State *L, int narg, const char *tname) { tname 63 lib/lua/lauxlib.c tname, luaL_typename(L, narg)); tname 112 lib/lua/lauxlib.c LUALIB_API int luaL_newmetatable (lua_State *L, const char *tname) { tname 113 lib/lua/lauxlib.c lua_getfield(L, LUA_REGISTRYINDEX, tname); /* get registry.name */ tname 119 lib/lua/lauxlib.c lua_setfield(L, LUA_REGISTRYINDEX, tname); /* registry.name = metatable */ tname 124 lib/lua/lauxlib.c LUALIB_API void *luaL_checkudata (lua_State *L, int ud, const char *tname) { tname 128 lib/lua/lauxlib.c lua_getfield(L, LUA_REGISTRYINDEX, tname); /* get correct metatable */ tname 135 lib/lua/lauxlib.c luaL_typerror(L, ud, tname); /* else error */ tname 48 lib/lua/lauxlib.h LUALIB_API int (luaL_typerror) (lua_State *L, int narg, const char *tname); tname 65 lib/lua/lauxlib.h LUALIB_API int (luaL_newmetatable) (lua_State *L, const char *tname); tname 66 lib/lua/lauxlib.h LUALIB_API void *(luaL_checkudata) (lua_State *L, int ud, const char *tname);