core: Move core.globalSettingSet to C.
All checks were successful
Build Tilde Friends / Build-Docs (push) Successful in 2m30s
Build Tilde Friends / Build-All (push) Successful in 10m46s

This commit is contained in:
2025-12-09 13:02:25 -05:00
parent 3c6eeb9cd3
commit f1876a34ec
5 changed files with 73 additions and 18 deletions

View File

@@ -2555,7 +2555,7 @@ const char* tf_ssb_db_get_global_setting_string_alloc(sqlite3* db, const char* n
return result;
}
bool tf_ssb_db_set_global_setting_from_string(sqlite3* db, const char* name, char* value)
bool tf_ssb_db_set_global_setting_from_string(sqlite3* db, const char* name, const char* value)
{
tf_setting_kind_t kind = tf_util_get_global_setting_kind(name);
if (kind == k_kind_unknown)