Simple JSON  0.1
A free simple json library for C
simple_json_error.c File Reference
Include dependency graph for simple_json_error.c:

Go to the source code of this file.

Functions

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

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.