Function loadorder_ffi::lo_set_load_order[][src]

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

Set the load order.

Sets the load order to the passed plugin array, then scans the plugins directory and inserts any plugins not included in the passed array.

Plugin files are inserted at the end of the load order, and master files are inserted after the last master file in the load order. The order of plugin insertion is undefined besides the distinction made between master files and plugin files.

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