Skip to main content

set_global_option

Function set_global_option 

Source
pub fn set_global_option(
    key: MaaGlobalOption,
    value: *mut c_void,
    size: u64,
) -> MaaResult<()>
Expand description

Set a global framework option.

Low-level function for setting global options. Consider using the convenience wrappers like configure_logging, set_debug_mode, etc.