ext/yaji/parser_ext.h in yaji-0.0.1 vs ext/yaji/parser_ext.h in yaji-0.0.2

- old
+ new

@@ -39,11 +39,11 @@ #define RARRAY_LEN(s) (RARRAY(s)->len) #endif static VALUE m_yaji, c_yaji_parser, c_parse_error, c_stringio; -static ID id_call, id_read, id_parse, id_rewind; +static ID id_call, id_read, id_parse, id_perform, id_on_body, id_bytesize; static ID sym_allow_comments, sym_check_utf8, sym_symbolize_keys, sym_read_buffer_size, sym_null, sym_boolean, sym_number, sym_string, sym_hash_key, sym_start_hash, sym_end_hash, sym_start_array, sym_end_array; @@ -77,9 +77,11 @@ VALUE input; VALUE rbufsize; VALUE events; VALUE path; VALUE path_str; + VALUE parser_cb; + VALUE chunk; yajl_handle handle; yajl_parser_config config; } yaji_parser; static VALUE rb_yaji_parser_new(int argc, VALUE *argv, VALUE klass);