moved doxygen to doc folder and still working on csv

This commit is contained in:
herbglitch 2024-12-08 22:19:43 -07:00
parent ca6a9c118f
commit 280a70c6e8
24 changed files with 282 additions and 105 deletions

View file

@ -144,7 +144,8 @@ void ARC_Parser_Destroy(ARC_Parser *parser){
//do the same thing as clear but this time pass in the userData as well to clean that up
if(parser->destroyDataFn != NULL){
(*(parser->destroyDataFn))(parser->data, parser->userData);
//set to false to indicate full destroy instead of clear
(*(parser->destroyDataFn))(parser->data, ARC_False, parser->userData);
free(parser->destroyDataFn);
}
@ -345,9 +346,9 @@ void ARC_Parser_ParseFile(ARC_Parser *parser, ARC_String *path){
}
void ARC_Parser_ClearData(ARC_Parser *parser){
//check if that data exists and the destructor exists to make sure they can be run
//check if that data exists and the destructor exists to make sure they can be run, set to true to indicate clear
if(parser->data != NULL && parser->destroyDataFn != NULL){
(*(parser->destroyDataFn))(parser->data, NULL);
(*(parser->destroyDataFn))(parser->data, ARC_True, parser->userData);
}
//TODO: might want to error here