Skip to main content

set_metatable

Function set_metatable 

Source
pub fn set_metatable(state: &mut LuaState, tname: &[u8]) -> Result<(), LuaError>
Expand description

Set the metatable of the value at stack top to the one registered as tname.