Fix implicit decalaration in rb_event_thread.c

pull/24962/head
Masaki Hara 4 years ago
parent 2e702fc8f5
commit 73fac77b3f
  1. 2
      src/ruby/ext/grpc/rb_event_thread.c

@ -29,6 +29,8 @@
#include <grpc/support/time.h> #include <grpc/support/time.h>
#include <ruby/thread.h> #include <ruby/thread.h>
#include "rb_grpc.h"
typedef struct grpc_rb_event { typedef struct grpc_rb_event {
// callback will be called with argument while holding the GVL // callback will be called with argument while holding the GVL
void (*callback)(void*); void (*callback)(void*);

Loading…
Cancel
Save