started working on graphics config
This commit is contained in:
parent
585768f33d
commit
13ef683164
5 changed files with 69 additions and 67 deletions
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
static const char *testType = "int32";
|
||||
|
||||
void TEST_configType_CopyInt32Fn(void **type, ARC_ParserTagToken *parsedData, ARC_Config *config){
|
||||
void TEST_configType_CopyInt32Fn(void **type, ARC_ParserTagToken *parsedData, ARC_Config *config, void *userdata){
|
||||
//go into the <numberSign> tag
|
||||
ARC_ParserTagToken *childTagToken = (ARC_ParserTagToken *)ARC_Vector_Get(parsedData->tagTokens, 0);
|
||||
if(childTagToken->id != ARC_CONFIG_NUMBER_SIGN){
|
||||
|
|
@ -83,7 +83,8 @@ ARC_TEST(config_BasicTest){
|
|||
|
||||
ARC_ConfigType int32Type = {
|
||||
TEST_configType_CopyInt32Fn,
|
||||
TEST_configType_DestroyInt32Fn
|
||||
TEST_configType_DestroyInt32Fn,
|
||||
NULL
|
||||
};
|
||||
ARC_Config_RegisterTypeWithCStr(config, testType, int32Type);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue