started working on graphics config

This commit is contained in:
herbglitch 2025-03-17 18:01:18 -06:00
parent 585768f33d
commit 13ef683164
5 changed files with 69 additions and 67 deletions

View file

@ -17,7 +17,7 @@ typedef struct ARC_Config ARC_Config;
/**
* @brief a function callback to create a type stored within a config
*/
typedef void (* ARC_ConfigType_CopyFn)(void **type, ARC_ParserTagToken *parsedData, ARC_Config *config);
typedef void (* ARC_ConfigType_CopyFn)(void **type, ARC_ParserTagToken *parsedData, ARC_Config *config, void *userdata);
/**
* @brief a function callback to destroy a type
@ -30,6 +30,7 @@ typedef void (* ARC_ConfigType_DestroyFn)(void *type);
typedef struct ARC_ConfigType {
ARC_ConfigType_CopyFn copyFn;
ARC_ConfigType_DestroyFn destroyFn;
void *userdata;
} ARC_ConfigType;
/**