Global: make FFinstance instance a global variable

As discussed in https://github.com/fastfetch-cli/fastfetch/discussions/473
This commit is contained in:
李通洲
2023-06-24 10:59:53 +08:00
parent 48b01c9665
commit d0f093c567
255 changed files with 2020 additions and 2064 deletions
+2 -2
View File
@@ -5,8 +5,8 @@
#define FF_PLAYER_MODULE_NAME "Player"
void ffPrintPlayer(FFinstance* instance, FFPlayerOptions* options);
void ffPrintPlayer(FFPlayerOptions* options);
void ffInitPlayerOptions(FFPlayerOptions* options);
bool ffParsePlayerCommandOptions(FFPlayerOptions* options, const char* key, const char* value);
void ffDestroyPlayerOptions(FFPlayerOptions* options);
void ffParsePlayerJsonObject(FFinstance* instance, yyjson_val* module);
void ffParsePlayerJsonObject(yyjson_val* module);