mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-08 06:00:08 +01:00
Modules: add init and destroy option callbacks to module info
This commit is contained in:
@@ -130,6 +130,8 @@ void ffGenerateOpenGLJsonResult(FF_MAYBE_UNUSED FFOpenGLOptions* options, yyjson
|
||||
static FFModuleBaseInfo ffModuleInfo = {
|
||||
.name = FF_OPENGL_MODULE_NAME,
|
||||
.description = "Print highest OpenGL version supported by the GPU",
|
||||
.initOptions = (void*) ffInitOpenGLOptions,
|
||||
.destroyOptions = (void*) ffDestroyOpenGLOptions,
|
||||
.parseJsonObject = (void*) ffParseOpenGLJsonObject,
|
||||
.printModule = (void*) ffPrintOpenGL,
|
||||
.generateJsonResult = (void*) ffGenerateOpenGLJsonResult,
|
||||
|
||||
Reference in New Issue
Block a user