aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Craig Tiller <craig.tiller@gmail.com>2015-05-11 22:58:54 -0700
committerGravatar Craig Tiller <craig.tiller@gmail.com>2015-05-11 22:58:54 -0700
commit06b8b312ace347aa243f5fafb0c91854e99b25de (patch)
tree7551b723d81f872419f3a3ffd0e73c4d2833e180
parent3211e943db52496f89d32b2746474b975141ab51 (diff)
Remove unusable functions
-rw-r--r--src/ruby/ext/grpc/rb_completion_queue.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/ruby/ext/grpc/rb_completion_queue.c b/src/ruby/ext/grpc/rb_completion_queue.c
index 76ac68f887..d83a20e5c3 100644
--- a/src/ruby/ext/grpc/rb_completion_queue.c
+++ b/src/ruby/ext/grpc/rb_completion_queue.c
@@ -158,14 +158,6 @@ void Init_grpc_completion_queue() {
this func, so no separate initialization step is necessary. */
rb_define_alloc_func(grpc_rb_cCompletionQueue,
grpc_rb_completion_queue_alloc);
-
- /* Add the next method that waits for the next event. */
- rb_define_method(grpc_rb_cCompletionQueue, "next",
- grpc_rb_completion_queue_next, 1);
-
- /* Add the pluck method that waits for the next event of given tag */
- rb_define_method(grpc_rb_cCompletionQueue, "pluck",
- grpc_rb_completion_queue_pluck, 2);
}
/* Gets the wrapped completion queue from the ruby wrapper */