mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-04 04:04:17 +01:00
Modules: add init and destroy option callbacks to module info
This commit is contained in:
@@ -142,6 +142,8 @@ void ffGeneratePhysicalMemoryJsonResult(FF_MAYBE_UNUSED FFPhysicalMemoryOptions*
|
||||
static FFModuleBaseInfo ffModuleInfo = {
|
||||
.name = FF_PHYSICALMEMORY_MODULE_NAME,
|
||||
.description = "Print system physical memory devices",
|
||||
.initOptions = (void*) ffInitPhysicalMemoryOptions,
|
||||
.destroyOptions = (void*) ffDestroyPhysicalMemoryOptions,
|
||||
.parseJsonObject = (void*) ffParsePhysicalMemoryJsonObject,
|
||||
.printModule = (void*) ffPrintPhysicalMemory,
|
||||
.generateJsonConfig = (void*) ffGeneratePhysicalMemoryJsonConfig,
|
||||
|
||||
Reference in New Issue
Block a user