Simple JSON  0.1
A free simple json library for C
simple_json_error.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MIN(a, b)   (a<=b?a:b)
 
#define MAX(a, b)   (a>=b?a:b)
 
#define false   0
 
#define true   1
 

Functions

char * sj_get_error ()
 get the last reported error for simple json More...
 
void sj_set_error (char *error)
 used internally to se the error message More...
 

Macro Definition Documentation

#define false   0

Definition at line 13 of file simple_json_error.h.

#define MAX (   a,
 
)    (a>=b?a:b)

Definition at line 9 of file simple_json_error.h.

#define MIN (   a,
 
)    (a<=b?a:b)

Definition at line 5 of file simple_json_error.h.

#define true   1

Definition at line 16 of file simple_json_error.h.

Function Documentation

char* sj_get_error ( )

get the last reported error for simple json

Returns
a character array with the error message

Definition at line 6 of file simple_json_error.c.

void sj_set_error ( char *  error)

used internally to se the error message

Parameters
errorthe error message to set

Definition at line 11 of file simple_json_error.c.