Type Alias lua_CFunction

Source
pub type lua_CFunction = Option<extern "C" fn(L: *mut lua_State) -> c_int>;

Aliased Type§

enum lua_CFunction {
    None,
    Some(extern "C" fn(*mut lua_State) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(extern "C" fn(*mut lua_State) -> i32)

Some value of type T.