Function projectm_sys::projectm_write_config
source · [−]pub unsafe extern "C" fn projectm_write_config(
config_file: *const c_char,
settings: *const projectm_settings
)Expand description
@brief Saves the given settings struct into a file.
The file can be loaded during projectM initialization. This is useful if the application needs to keep settings separate from the global system/user configuration.
@param config_file The filename to store the settings in. @param settings The settings struct to store.