23 #ifndef __LIBRETRO_SDK_FORMAT_JSONSAX_H__ 24 #define __LIBRETRO_SDK_FORMAT_JSONSAX_H__ 47 extern const char* jsonsax_errors[];
52 int ( *start_document )(
void* userdata );
53 int ( *end_document )(
void* userdata );
54 int ( *start_object )(
void* userdata );
55 int ( *end_object )(
void* userdata );
56 int ( *start_array )(
void* userdata );
57 int ( *end_array )(
void* userdata );
58 int ( *key )(
void* userdata,
const char*
name,
size_t length );
59 int ( *array_index )(
void* userdata,
unsigned int index );
60 int ( *
string )(
void* userdata,
const char*
string,
size_t length );
62 int ( *
boolean )(
void* userdata,
int istrue );
63 int ( *
null )(
void* userdata );
int jsonsax_parse(const char *json, const jsonsax_handlers_t *handlers, void *userdata)
Definition: jsonsax.c:293
static char * number(char *str, long num, int base, int size, int precision, int type)
Definition: kprintf.c:42
GLuint const GLchar * name
Definition: glext.h:6671
#define RETRO_BEGIN_DECLS
Definition: retro_common_api.h:41
static const char json[]
Definition: namespacetest.cpp:32
#define RETRO_END_DECLS
Definition: retro_common_api.h:42
GLuint index
Definition: glext.h:6671
int(* string)(void *userdata, const char *string, size_t length)
Definition: jsonsax.h:60
GLenum GLuint GLenum GLsizei length
Definition: glext.h:6233
int(* number)(void *userdata, const char *number, size_t length)
Definition: jsonsax.h:61