aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ruby/ext/grpc/rb_server.c
diff options
context:
space:
mode:
authorGravatar murgatroid99 <mlumish@google.com>2015-07-16 16:01:02 -0700
committerGravatar murgatroid99 <mlumish@google.com>2015-07-16 16:01:02 -0700
commit87afb5d86303f67ac781b7e2c6ff24b544c0635a (patch)
tree230e9f886d242eef5483556ce5df25216a9b95e5 /src/ruby/ext/grpc/rb_server.c
parente85483b39248b42512571ab7eb92c5fdff6304c3 (diff)
Clean up some warnings in the ruby wrapping code
Diffstat (limited to 'src/ruby/ext/grpc/rb_server.c')
-rw-r--r--src/ruby/ext/grpc/rb_server.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ruby/ext/grpc/rb_server.c b/src/ruby/ext/grpc/rb_server.c
index bed3b26850..e3a0a5ad80 100644
--- a/src/ruby/ext/grpc/rb_server.c
+++ b/src/ruby/ext/grpc/rb_server.c
@@ -94,7 +94,8 @@ static void grpc_rb_server_mark(void *p) {
static const rb_data_type_t grpc_rb_server_data_type = {
"grpc_server",
- {grpc_rb_server_mark, grpc_rb_server_free, GRPC_RB_MEMSIZE_UNAVAILABLE},
+ {grpc_rb_server_mark, grpc_rb_server_free, GRPC_RB_MEMSIZE_UNAVAILABLE,
+ {NULL, NULL}},
NULL,
NULL,
/* It is unsafe to specify RUBY_TYPED_FREE_IMMEDIATELY because the free function would block