Function SCPreferencesSynchronize

Source
pub unsafe extern "C-unwind" fn SCPreferencesSynchronize(
    prefs: &SCPreferences,
)
Available on crate feature SCPreferences only.
Expand description

Synchronizes accessed preferences with committed changes.

Any references to preference values returned by calls to the SCPreferencesGetValue function are no longer valid unless they were explicitly retained or copied. Any preference values that were updated (add, set, remove) but not committed will be discarded.

Parameter prefs: The preferences session.