Type Alias lua_CFunction

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

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.

Layout§

Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.