Straightening out the includes.

pull/1589/head
Nicolas "Pixel" Noble 10 years ago
parent 452af9d63b
commit 357cb81c7d
  1. 2
      src/ruby/ext/grpc/rb_byte_buffer.c
  2. 3
      src/ruby/ext/grpc/rb_byte_buffer.h
  3. 2
      src/ruby/ext/grpc/rb_call.c
  4. 3
      src/ruby/ext/grpc/rb_call.h
  5. 2
      src/ruby/ext/grpc/rb_channel.c
  6. 3
      src/ruby/ext/grpc/rb_channel.h
  7. 3
      src/ruby/ext/grpc/rb_channel_args.c
  8. 3
      src/ruby/ext/grpc/rb_channel_args.h
  9. 3
      src/ruby/ext/grpc/rb_completion_queue.h
  10. 2
      src/ruby/ext/grpc/rb_credentials.c
  11. 3
      src/ruby/ext/grpc/rb_credentials.h
  12. 3
      src/ruby/ext/grpc/rb_grpc.h
  13. 2
      src/ruby/ext/grpc/rb_server.c
  14. 3
      src/ruby/ext/grpc/rb_server.h
  15. 2
      src/ruby/ext/grpc/rb_server_credentials.c
  16. 3
      src/ruby/ext/grpc/rb_server_credentials.h

@ -33,7 +33,7 @@
#include "rb_byte_buffer.h"
#include <ruby.h>
#include <ruby/ruby.h>
#include <grpc/grpc.h>
#include <grpc/support/slice.h>

@ -34,8 +34,9 @@
#ifndef GRPC_RB_BYTE_BUFFER_H_
#define GRPC_RB_BYTE_BUFFER_H_
#include <ruby/ruby.h>
#include <grpc/grpc.h>
#include <ruby.h>
/* Converts a char* with a length to a grpc_byte_buffer */
grpc_byte_buffer *grpc_rb_s_to_byte_buffer(char *string, size_t length);

@ -33,7 +33,7 @@
#include "rb_call.h"
#include <ruby.h>
#include <ruby/ruby.h>
#include <grpc/grpc.h>
#include <grpc/support/alloc.h>

@ -34,8 +34,9 @@
#ifndef GRPC_RB_CALL_H_
#define GRPC_RB_CALL_H_
#include <ruby/ruby.h>
#include <grpc/grpc.h>
#include <ruby.h>
/* Gets the wrapped call from a VALUE. */
grpc_call* grpc_rb_get_wrapped_call(VALUE v);

@ -33,7 +33,7 @@
#include "rb_channel.h"
#include <ruby.h>
#include <ruby/ruby.h>
#include <grpc/grpc.h>
#include <grpc/grpc_security.h>

@ -34,7 +34,8 @@
#ifndef GRPC_RB_CHANNEL_H_
#define GRPC_RB_CHANNEL_H_
#include <ruby.h>
#include <ruby/ruby.h>
#include <grpc/grpc.h>
/* Initializes the Channel class. */

@ -33,7 +33,8 @@
#include "rb_channel_args.h"
#include <ruby.h>
#include <ruby/ruby.h>
#include <grpc/grpc.h>
#include "rb_grpc.h"

@ -34,7 +34,8 @@
#ifndef GRPC_RB_CHANNEL_ARGS_H_
#define GRPC_RB_CHANNEL_ARGS_H_
#include <ruby.h>
#include <ruby/ruby.h>
#include <grpc/grpc.h>
/* Converts a hash object containing channel args to a channel args instance.

@ -34,8 +34,9 @@
#ifndef GRPC_RB_COMPLETION_QUEUE_H_
#define GRPC_RB_COMPLETION_QUEUE_H_
#include <ruby/ruby.h>
#include <grpc/grpc.h>
#include <ruby.h>
/* Gets the wrapped completion queue from the ruby wrapper */
grpc_completion_queue *grpc_rb_get_wrapped_completion_queue(VALUE v);

@ -33,7 +33,7 @@
#include "rb_credentials.h"
#include <ruby.h>
#include <ruby/ruby.h>
#include <grpc/grpc.h>
#include <grpc/grpc_security.h>

@ -34,7 +34,8 @@
#ifndef GRPC_RB_CREDENTIALS_H_
#define GRPC_RB_CREDENTIALS_H_
#include <ruby.h>
#include <ruby/ruby.h>
#include <grpc/grpc_security.h>
/* Initializes the ruby Credentials class. */

@ -35,7 +35,8 @@
#define GRPC_RB_H_
#include <sys/time.h>
#include <ruby.h>
#include <ruby/ruby.h>
#include <grpc/support/time.h>
/* grpc_rb_mGrpcCore is the module containing the ruby wrapper GRPC classes. */

@ -33,7 +33,7 @@
#include "rb_server.h"
#include <ruby.h>
#include <ruby/ruby.h>
#include <grpc/grpc.h>
#include <grpc/grpc_security.h>

@ -34,7 +34,8 @@
#ifndef GRPC_RB_SERVER_H_
#define GRPC_RB_SERVER_H_
#include <ruby.h>
#include <ruby/ruby.h>
#include <grpc/grpc.h>
/* Initializes the Server class. */

@ -33,7 +33,7 @@
#include "rb_server_credentials.h"
#include <ruby.h>
#include <ruby/ruby.h>
#include <grpc/grpc.h>
#include <grpc/grpc_security.h>

@ -34,7 +34,8 @@
#ifndef GRPC_RB_SERVER_CREDENTIALS_H_
#define GRPC_RB_SERVER_CREDENTIALS_H_
#include <ruby.h>
#include <ruby/ruby.h>
#include <grpc/grpc_security.h>
/* Initializes the ruby ServerCredentials class. */

Loading…
Cancel
Save