mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-29 00:03:58 +01:00
Modules: add init and destroy option callbacks to module info
This commit is contained in:
@@ -162,6 +162,8 @@ void ffGenerateOSJsonResult(FF_MAYBE_UNUSED FFOSOptions* options, yyjson_mut_doc
|
||||
static FFModuleBaseInfo ffModuleInfo = {
|
||||
.name = FF_OS_MODULE_NAME,
|
||||
.description = "Print operating system name and version",
|
||||
.initOptions = (void*) ffInitOSOptions,
|
||||
.destroyOptions = (void*) ffDestroyOSOptions,
|
||||
.parseJsonObject = (void*) ffParseOSJsonObject,
|
||||
.printModule = (void*) ffPrintOS,
|
||||
.generateJsonResult = (void*) ffGenerateOSJsonResult,
|
||||
|
||||
Reference in New Issue
Block a user