YASL_registermt

Function YASL_registermt 

Source
pub unsafe extern "C" fn YASL_registermt(
    S: *mut YASL_State,
    name: *const c_char,
) -> c_int
Expand description

[-0, +0] Registers a metatable with name name. After this returns, the metatable can be referred to by name in other functions dealing with metatables, e.g. YASL_setmt or YASL_loadmt. @param S the YASL_State. @param name the name of the metatable. @return YASL_SUCCESS.