lua_setmetatable

Function lua_setmetatable 

Source
pub unsafe extern "C-unwind" fn lua_setmetatable(
    l: *mut lua_State,
    index: c_int,
) -> c_int
Expand description

Pops a table from the stack and sets it as the new metatable for the value at the given acceptable index. [-1, +0, -]