pub unsafe extern "C" fn getmetatable(
state: lua_State,
index: i32,
) -> i32
Expand description
Pushes onto the stack the metatable of the value at the given acceptable index. If the index is not valid, or if the value does not have a metatable, the function returns 0 and pushes nothing on the stack.