mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-06 13:14:21 +01:00
Modules: add init and destroy option callbacks to module info
This commit is contained in:
@@ -211,6 +211,8 @@ exit:
|
||||
static FFModuleBaseInfo ffModuleInfo = {
|
||||
.name = FF_CPUCACHE_MODULE_NAME,
|
||||
.description = "Print CPU cache sizes",
|
||||
.initOptions = (void*) ffInitCPUCacheOptions,
|
||||
.destroyOptions = (void*) ffDestroyCPUCacheOptions,
|
||||
.parseJsonObject = (void*) ffParseCPUCacheJsonObject,
|
||||
.printModule = (void*) ffPrintCPUCache,
|
||||
.generateJsonResult = (void*) ffGenerateCPUCacheJsonResult,
|
||||
|
||||
Reference in New Issue
Block a user