Skip to main content

MjPluginLibraryLoadCallback

Type Alias MjPluginLibraryLoadCallback 

Source
pub type MjPluginLibraryLoadCallback = Option<unsafe extern "C" fn(*const c_char, c_int, c_int)>;
Expand description

Callback invoked by load_all_plugin_libraries for each loaded library.

Parameters: filename, first plugin index, count of plugins registered.

Aliased Type§

pub enum MjPluginLibraryLoadCallback {
    None,
    Some(unsafe extern "C" fn(*const i8, i32, i32)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*const i8, i32, i32))

Some value of type T.