working on csv data, parser works but needs more testing, might add bool to ParserData_DestroyFn callback for clearing
This commit is contained in:
parent
4c3d357cb9
commit
ca6a9c118f
13 changed files with 384 additions and 279 deletions
|
|
@ -0,0 +1,26 @@
|
|||
#ifndef ARC_STD_PARSER_HELPERS_H_
|
||||
#define ARC_STD_PARSER_HELPERS_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "arc/std/parser.h"
|
||||
#include <stddef.h>
|
||||
|
||||
/**
|
||||
* @brief recurses through a tag token adding token strings to a main string
|
||||
*
|
||||
* @note the string needs to be created otherwise this will break
|
||||
* @note this will only add tokens that have data
|
||||
*
|
||||
* @param[in/out] data
|
||||
* @param[in] tagToken the tag token to recurse through
|
||||
*/
|
||||
void ARC_ParserData_HelperRecurseStringAdd(ARC_String **data, ARC_ParserTagToken *tagToken);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif //ARC_STD_PARSER_HELPERS_H_
|
||||
Loading…
Add table
Add a link
Reference in a new issue