Global: :%s/ffGenerate\w+Json/$0Result/g

This commit is contained in:
李通洲
2023-10-23 10:14:22 +08:00
parent 40d6d0b7b5
commit e7938216ba
106 changed files with 159 additions and 159 deletions
+2 -2
View File
@@ -32,7 +32,7 @@ void ffPrintTheme(FFThemeOptions* options)
void ffInitThemeOptions(FFThemeOptions* options)
{
ffOptionInitModuleBaseInfo(&options->moduleInfo, FF_THEME_MODULE_NAME, ffParseThemeCommandOptions, ffParseThemeJsonObject, ffPrintTheme, ffGenerateThemeJson, ffPrintThemeHelpFormat);
ffOptionInitModuleBaseInfo(&options->moduleInfo, FF_THEME_MODULE_NAME, ffParseThemeCommandOptions, ffParseThemeJsonObject, ffPrintTheme, ffGenerateThemeJsonResult, ffPrintThemeHelpFormat);
ffOptionInitModuleArg(&options->moduleArgs);
}
@@ -68,7 +68,7 @@ void ffParseThemeJsonObject(FFThemeOptions* options, yyjson_val* module)
}
}
void ffGenerateThemeJson(FF_MAYBE_UNUSED FFThemeOptions* options, yyjson_mut_doc* doc, yyjson_mut_val* module)
void ffGenerateThemeJsonResult(FF_MAYBE_UNUSED FFThemeOptions* options, yyjson_mut_doc* doc, yyjson_mut_val* module)
{
FF_STRBUF_AUTO_DESTROY theme = ffStrbufCreate();
const char* error = ffDetectTheme(&theme);
+1 -1
View File
@@ -9,5 +9,5 @@ void ffInitThemeOptions(FFThemeOptions* options);
bool ffParseThemeCommandOptions(FFThemeOptions* options, const char* key, const char* value);
void ffDestroyThemeOptions(FFThemeOptions* options);
void ffParseThemeJsonObject(FFThemeOptions* options, yyjson_val* module);
void ffGenerateThemeJson(FFThemeOptions* options, yyjson_mut_doc* doc, yyjson_mut_val* module);
void ffGenerateThemeJsonResult(FFThemeOptions* options, yyjson_mut_doc* doc, yyjson_mut_val* module);
void ffPrintThemeHelpFormat(void);