lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

int luaL_getmetatable (lua_State *L, const char *tname);

Pushes onto the stack the metatable associated with name tname in the
registry (see luaL_newmetatable). If there is no metatable associated
withtname, returns false and pushes nil.


It doesn't describe the function's return value when the result table
pushed onto the stack.