Skip to content

Commit

Permalink
fix improper usage of rb_define_method
Browse files Browse the repository at this point in the history
  • Loading branch information
brianmario committed Sep 13, 2010
1 parent d9265a9 commit 09ae7ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/yajl_ext.c
Original file line number Diff line number Diff line change
Expand Up @@ -846,7 +846,7 @@ void Init_yajl_ext() {
rb_define_singleton_method(cParser, "new", rb_yajl_parser_new, -1);
rb_define_method(cParser, "initialize", rb_yajl_parser_init, -1);
rb_define_method(cParser, "parse", rb_yajl_parser_parse, -1);
rb_define_method(cParser, "parse_chunk", rb_yajl_parser_parse_chunk, -1);
rb_define_method(cParser, "parse_chunk", rb_yajl_parser_parse_chunk, 1);
rb_define_method(cParser, "<<", rb_yajl_parser_parse_chunk, 1);
rb_define_method(cParser, "on_parse_complete=", rb_yajl_parser_set_complete_cb, 1);

Expand Down

0 comments on commit 09ae7ce

Please sign in to comment.