diff options
author | Jedidiah Barber <contact@jedbarber.id.au> | 2025-01-16 14:21:05 +1300 |
---|---|---|
committer | Jedidiah Barber <contact@jedbarber.id.au> | 2025-01-16 14:21:05 +1300 |
commit | dbf6f4db24aee7315b2782a87e127367887e2036 (patch) | |
tree | 91f5af52dbdf6be9e1f5026bcf354a6455dd411d /src/c_fl_preferences.h | |
parent | ba1719013e5bab82a2accb4aadfd8451c3ebc931 (diff) |
Changed reinterpret_cast to static_cast where applicable
Diffstat (limited to 'src/c_fl_preferences.h')
-rw-r--r-- | src/c_fl_preferences.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/c_fl_preferences.h b/src/c_fl_preferences.h index efc6254..9f77dfb 100644 --- a/src/c_fl_preferences.h +++ b/src/c_fl_preferences.h @@ -8,26 +8,18 @@ #define FL_PREFERENCES_GUARD - - typedef void* PREFS; - - extern const int root_fl_prefs_system; extern const int root_fl_prefs_user; extern const int const_fl_path_max; - - extern "C" const char * fl_preferences_new_uuid(); - - extern "C" PREFS new_fl_pref_database_path(char * p, char * v, char * a); extern "C" PREFS new_fl_pref_database_scope(int s, char * v, char * a); extern "C" void upref_fl_pref_database(PREFS e); @@ -40,8 +32,6 @@ extern "C" PREFS new_fl_pref_group_index(PREFS e, int i); extern "C" void free_fl_pref_group(PREFS e); - - extern "C" void fl_preferences_flush(PREFS e); extern "C" int fl_preferences_getuserdatapath(PREFS e, char * p, int len); @@ -93,3 +83,4 @@ extern "C" int fl_preferences_set_void(PREFS e, const char * k, const void * d, #endif + |