Go to the documentation of this file.
12 #include <yajl/yajl_gen.h>
13 #include <yajl/yajl_parse.h>
14 #include <yajl/yajl_version.h>
17 #define y(x, ...) yajl_gen_ ## x (gen, ##__VA_ARGS__)
18 #define ystr(str) yajl_gen_string(gen, (unsigned char*)str, strlen(str))
20 #define ygenalloc() yajl_gen_alloc(NULL)
21 #define yalloc(callbacks, client) yajl_alloc(callbacks, NULL, client)