pub type spa_handle_factory_enum_func_t = Option<unsafe extern "C" fn(factory: *mut *const spa_handle_factory, index: *mut u32) -> c_int>;
Expand description

The function signature of the entry point in a plugin.

\param factory a location to hold the factory result \param index index to keep track of the enumeration \return 1 on success 0 when there are no more factories -EINVAL when factory is NULL

Aliased Type§

enum spa_handle_factory_enum_func_t {
    None,
    Some(unsafe extern "C" fn(_: *mut *const spa_handle_factory, _: *mut u32) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut *const spa_handle_factory, _: *mut u32) -> i32)

Some value of type T.