mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-07 21:50:08 +01:00
Modules: add init and destroy option callbacks to module info
This commit is contained in:
@@ -89,6 +89,8 @@ void ffGenerateIconsJsonResult(FF_MAYBE_UNUSED FFIconsOptions* options, yyjson_m
|
||||
static FFModuleBaseInfo ffModuleInfo = {
|
||||
.name = FF_ICONS_MODULE_NAME,
|
||||
.description = "Print icon style name",
|
||||
.initOptions = (void*) ffInitIconsOptions,
|
||||
.destroyOptions = (void*) ffDestroyIconsOptions,
|
||||
.parseJsonObject = (void*) ffParseIconsJsonObject,
|
||||
.printModule = (void*) ffPrintIcons,
|
||||
.generateJsonResult = (void*) ffGenerateIconsJsonResult,
|
||||
|
||||
Reference in New Issue
Block a user