Function loadorder_ffi::lo_set_active_plugins[][src]

#[no_mangle]
pub unsafe extern "C" fn lo_set_active_plugins(
    handle: lo_game_handle,
    plugins: *const *const c_char,
    num_plugins: size_t
) -> c_uint

Sets the list of currently active plugins.

Replaces the current active plugins list with the plugins in the given array. The replacement list must be valid. If, for Skyrim or Fallout 4, a plugin to be activated does not have a defined load order position, this function will append it to the load order. If multiple such plugins exist, they are appended in the order they are given.

Returns LIBLO_OK if successful, otherwise a LIBLO_ERROR_* code is returned.