|
Suckless OGL 1.0.0
A lean, high-performance C11 PBR Renderer
|
Describes one subsystem's lifecycle hooks. More...
#include <app_subsystem.h>
Data Fields | |
| const char * | name |
| int(* | init )(struct App *app) |
| void(* | cleanup )(struct App *app) |
Describes one subsystem's lifecycle hooks.
| void(* SubsystemDescriptor::cleanup) (struct App *app) |
NULL-safe, idempotent.
| int(* SubsystemDescriptor::init) (struct App *app) |
Returns 1 on success, 0 on failure.
| const char* SubsystemDescriptor::name |
Human-readable name (for logs).