22 #ifndef __LIBRETRO_SDK_FORMAT_RXML_H__ 23 #define __LIBRETRO_SDK_FORMAT_RXML_H__ 74 #ifdef RXML_LIBXML2_COMPAT 76 #define LIBXML_TEST_VERSION ((void)0) 79 typedef void *xmlParserCtxtPtr;
81 #define XML_ELEMENT_NODE (0) 82 #define xmlNewParserCtxt() ((void*)-1) 83 #define xmlCtxtReadFile(ctx, path, a, b) rxml_load_document(path) 84 #define xmlGetProp(node, prop) rxml_node_attrib(node, prop) 85 #define xmlFree(p) ((void)0) 86 #define xmlNodeGetContent(node) (node->data) 87 #define xmlDocGetRootElement(doc) rxml_root_node(doc) 88 #define xmlFreeDoc(doc) rxml_free_document(doc) 89 #define xmlFreeParserCtxt(ctx) ((void)0) char * data
Definition: rxml.h:52
#define RETRO_BEGIN_DECLS
Definition: retro_common_api.h:41
struct rxml_attrib_node * next
Definition: rxml.h:46
GLsizei const GLchar ** path
Definition: glext.h:7901
char * name
Definition: rxml.h:51
struct rxml_node * next
Definition: rxml.h:56
char * attrib
Definition: rxml.h:44
rxml_document_t * rxml_load_document(const char *path)
Definition: rxml.c:412
char * rxml_node_attrib(struct rxml_node *node, const char *attrib)
Definition: rxml.c:477
typedefRETRO_BEGIN_DECLS struct rxml_document rxml_document_t
Definition: rxml.h:40
int type
Definition: rxml.h:60
#define RETRO_END_DECLS
Definition: retro_common_api.h:42
struct rxml_node * rxml_root_node(rxml_document_t *doc)
Definition: rxml.c:43
char * value
Definition: rxml.h:45
struct rxml_attrib_node * attrib
Definition: rxml.h:53
void rxml_free_document(rxml_document_t *doc)
Definition: rxml.c:466
struct rxml_node * children
Definition: rxml.h:55