Logo Search packages:      
Sourcecode: yajl version File versions

generator status codes

Enumerator:
yajl_gen_status_ok  no error
yajl_gen_keys_must_be_strings  at a point where a map key is generated, a function other than yajl_gen_string was called
yajl_max_depth_exceeded  YAJL's maximum generation depth was exceeded. see YAJL_MAX_DEPTH
yajl_gen_in_error_state  A generator function (yajl_gen_XXX) was called while in an error state
yajl_gen_generation_complete  A complete JSON document has been generated

Definition at line 47 of file yajl_gen.h.

                 {
        /** no error */
        yajl_gen_status_ok = 0,
        /** at a point where a map key is generated, a function other than
         *  yajl_gen_string was called */
        yajl_gen_keys_must_be_strings,
        /** YAJL's maximum generation depth was exceeded.  see
         *  YAJL_MAX_DEPTH */
        yajl_max_depth_exceeded,
        /** A generator function (yajl_gen_XXX) was called while in an error
         *  state */
        yajl_gen_in_error_state,
        /** A complete JSON document has been generated */
        yajl_gen_generation_complete                
    } yajl_gen_status;


Generated by  Doxygen 1.6.0   Back to index