Locale: add JSON config support

This commit is contained in:
李通洲
2023-04-04 17:47:42 +08:00
parent 3526092b38
commit 0b96818f6d
12 changed files with 115 additions and 42 deletions
+6
View File
@@ -81,6 +81,12 @@ static bool parseModuleJsonObject(FFinstance* instance, const char* type, json_o
false;
}
case 'L': {
return
tryModule(instance, type, module, FF_LOCALE_MODULE_NAME, ffParseLocaleJsonObject) ||
false;
}
case 'O': {
return
tryModule(instance, type, module, FF_OS_MODULE_NAME, ffParseOSJsonObject) ||