From a2d12b6ee3d9aa66f2c16dc6a5ee6eef5f1eba92 Mon Sep 17 00:00:00 2001 From: Roger Meier Date: Tue, 24 Mar 2015 21:15:06 +0100 Subject: [PATCH] ruby: fix typo --- lib/rb/Makefile.am | 2 +- lib/rb/ext/binary_protocol_accelerated.c | 24 ++++++++++++------------ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/lib/rb/Makefile.am b/lib/rb/Makefile.am index 2d0c12e80..658eb7d87 100755 --- a/lib/rb/Makefile.am +++ b/lib/rb/Makefile.am @@ -23,7 +23,7 @@ if HAVE_BUNDLER all-local: $(BUNDLER) install - $(BUNDLER) exec rake + $(BUNDLER) exec rake build_ext install-exec-hook: $(BUNDLER) exec rake install diff --git a/lib/rb/ext/binary_protocol_accelerated.c b/lib/rb/ext/binary_protocol_accelerated.c index 8b27dbca8..65cbe5ffe 100644 --- a/lib/rb/ext/binary_protocol_accelerated.c +++ b/lib/rb/ext/binary_protocol_accelerated.c @@ -283,27 +283,27 @@ VALUE rb_thrift_binary_proto_read_message_end(VALUE self) { return Qnil; } -VALUE rb_thift_binary_proto_read_struct_begin(VALUE self) { +VALUE rb_thrift_binary_proto_read_struct_begin(VALUE self) { return Qnil; } -VALUE rb_thift_binary_proto_read_struct_end(VALUE self) { +VALUE rb_thrift_binary_proto_read_struct_end(VALUE self) { return Qnil; } -VALUE rb_thift_binary_proto_read_field_end(VALUE self) { +VALUE rb_thrift_binary_proto_read_field_end(VALUE self) { return Qnil; } -VALUE rb_thift_binary_proto_read_map_end(VALUE self) { +VALUE rb_thrift_binary_proto_read_map_end(VALUE self) { return Qnil; } -VALUE rb_thift_binary_proto_read_list_end(VALUE self) { +VALUE rb_thrift_binary_proto_read_list_end(VALUE self) { return Qnil; } -VALUE rb_thift_binary_proto_read_set_end(VALUE self) { +VALUE rb_thrift_binary_proto_read_set_end(VALUE self) { return Qnil; } @@ -449,12 +449,12 @@ void Init_binary_protocol_accelerated() { rb_define_method(bpa_class, "read_binary", rb_thrift_binary_proto_read_binary, 0); // unused methods rb_define_method(bpa_class, "read_message_end", rb_thrift_binary_proto_read_message_end, 0); - rb_define_method(bpa_class, "read_struct_begin", rb_thift_binary_proto_read_struct_begin, 0); - rb_define_method(bpa_class, "read_struct_end", rb_thift_binary_proto_read_struct_end, 0); - rb_define_method(bpa_class, "read_field_end", rb_thift_binary_proto_read_field_end, 0); - rb_define_method(bpa_class, "read_map_end", rb_thift_binary_proto_read_map_end, 0); - rb_define_method(bpa_class, "read_list_end", rb_thift_binary_proto_read_list_end, 0); - rb_define_method(bpa_class, "read_set_end", rb_thift_binary_proto_read_set_end, 0); + rb_define_method(bpa_class, "read_struct_begin", rb_thrift_binary_proto_read_struct_begin, 0); + rb_define_method(bpa_class, "read_struct_end", rb_thrift_binary_proto_read_struct_end, 0); + rb_define_method(bpa_class, "read_field_end", rb_thrift_binary_proto_read_field_end, 0); + rb_define_method(bpa_class, "read_map_end", rb_thrift_binary_proto_read_map_end, 0); + rb_define_method(bpa_class, "read_list_end", rb_thrift_binary_proto_read_list_end, 0); + rb_define_method(bpa_class, "read_set_end", rb_thrift_binary_proto_read_set_end, 0); rbuf_ivar_id = rb_intern("@rbuf"); }