Function loadorder_ffi::lo_set_plugin_position
[−]
[src]
#[no_mangle]pub unsafe extern "C" fn lo_set_plugin_position(
handle: lo_game_handle,
plugin: *const c_char,
index: size_t
) -> c_uint
Set the load order position of a plugin.
Sets the load order position of a plugin, removing it from its current position if it has one.
If the supplied position is greater than the last position in the load order, the plugin will
be positioned at the end of the load order. Load order positions are zero-based, so the first
plugin in the load order has a position of 0
, the next has a position of 1
, and so on.
Returns LIBLO_OK
if successful, otherwise a LIBLO_ERROR_*
code is returned.