Skip to main content

ValidationFn

Type Alias ValidationFn 

Source
pub type ValidationFn = Option<unsafe extern "C" fn(TblPtr: *mut c_void) -> i32>;
Expand description

A type alias for the raw callback function used to validate table loads.

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.