Skip to main content

call_meta

Function call_meta 

Source
pub fn call_meta(
    state: &mut LuaState,
    obj: i32,
    event: &[u8],
) -> Result<bool, LuaError>
Expand description

Call the metafield event of obj with obj as argument, pushing one result. Returns true if the meta-method existed and was called.