mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-06 05:04:17 +01:00
Modules: add init and destroy option callbacks to module info
This commit is contained in:
@@ -66,6 +66,8 @@ void ffGenerateLocaleJsonResult(FF_MAYBE_UNUSED FFLocaleOptions* options, yyjson
|
||||
static FFModuleBaseInfo ffModuleInfo = {
|
||||
.name = FF_LOCALE_MODULE_NAME,
|
||||
.description = "Print system locale name",
|
||||
.initOptions = (void*) ffInitLocaleOptions,
|
||||
.destroyOptions = (void*) ffDestroyLocaleOptions,
|
||||
.parseJsonObject = (void*) ffParseLocaleJsonObject,
|
||||
.printModule = (void*) ffPrintLocale,
|
||||
.generateJsonResult = (void*) ffGenerateLocaleJsonResult,
|
||||
|
||||
Reference in New Issue
Block a user