chore: adds defaultOrder to every module's definition

This commit is contained in:
Carter Li
2026-07-31 10:56:13 +08:00
parent 1626ced83c
commit 3196f5efaa
74 changed files with 139 additions and 65 deletions
+1
View File
@@ -34,6 +34,7 @@ typedef struct FFModuleBaseInfo {
bool (*generateJsonResult)(void* options, struct yyjson_mut_doc* doc, struct yyjson_mut_val* module); // true on success
void (*generateJsonConfig)(void* options, struct yyjson_mut_doc* doc, struct yyjson_mut_val* obj);
FFModuleFormatArgList formatArgs;
const uint8_t defaultOrder;
} FFModuleBaseInfo;
typedef enum FFModuleKeyType: uint8_t {