aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ruby/ext/grpc/rb_byte_buffer.c
diff options
context:
space:
mode:
authorGravatar Tim Emiola <temiola@google.com>2015-02-17 17:46:35 -0800
committerGravatar Tim Emiola <temiola@google.com>2015-02-17 17:46:35 -0800
commit409e6c804bc487c4a50451fd22ac90abc7293172 (patch)
tree7b4a09d542ae104898b4b1e71fc141748348cd06 /src/ruby/ext/grpc/rb_byte_buffer.c
parent67dc149403850c9a2cc2081fb6c318dcd3a38b13 (diff)
Updates the module name in C extension, ensuring it compiles
Diffstat (limited to 'src/ruby/ext/grpc/rb_byte_buffer.c')
-rw-r--r--src/ruby/ext/grpc/rb_byte_buffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ruby/ext/grpc/rb_byte_buffer.c b/src/ruby/ext/grpc/rb_byte_buffer.c
index f73b12c417..8586915026 100644
--- a/src/ruby/ext/grpc/rb_byte_buffer.c
+++ b/src/ruby/ext/grpc/rb_byte_buffer.c
@@ -202,9 +202,9 @@ static VALUE grpc_rb_byte_buffer_init(VALUE self, VALUE src) {
/* rb_cByteBuffer is the ruby class that proxies grpc_byte_buffer. */
VALUE rb_cByteBuffer = Qnil;
-void Init_google_rpc_byte_buffer() {
+void Init_grpc_byte_buffer() {
rb_cByteBuffer =
- rb_define_class_under(rb_mGoogleRpcCore, "ByteBuffer", rb_cObject);
+ rb_define_class_under(rb_mGrpcCore, "ByteBuffer", rb_cObject);
/* Allocates an object managed by the ruby runtime */
rb_define_alloc_func(rb_cByteBuffer, grpc_rb_byte_buffer_alloc);