diff --git a/src/ruby/ext/grpc/rb_call.c b/src/ruby/ext/grpc/rb_call.c index 6d8d76c630104..b5a94e5de21fc 100644 --- a/src/ruby/ext/grpc/rb_call.c +++ b/src/ruby/ext/grpc/rb_call.c @@ -127,8 +127,7 @@ static const rb_data_type_t grpc_call_data_type = {"grpc_call", {NULL, NULL}}, NULL, NULL, - RUBY_TYPED_FREE_IMMEDIATELY -}; + RUBY_TYPED_FREE_IMMEDIATELY}; /* Error code details is a hash containing text strings describing errors */ VALUE rb_error_code_details; diff --git a/src/ruby/ext/grpc/rb_call_credentials.c b/src/ruby/ext/grpc/rb_call_credentials.c index d42d454bf956a..b5efe05e7597e 100644 --- a/src/ruby/ext/grpc/rb_call_credentials.c +++ b/src/ruby/ext/grpc/rb_call_credentials.c @@ -225,8 +225,7 @@ static rb_data_type_t grpc_rb_call_credentials_data_type = { {NULL, NULL}}, NULL, NULL, - RUBY_TYPED_FREE_IMMEDIATELY | RUBY_TYPED_WB_PROTECTED -}; + RUBY_TYPED_FREE_IMMEDIATELY | RUBY_TYPED_WB_PROTECTED}; /* Allocates CallCredentials instances. Provides safe initial defaults for the instance fields. */ diff --git a/src/ruby/ext/grpc/rb_channel.c b/src/ruby/ext/grpc/rb_channel.c index c83811acf35a2..b694e4c50cc13 100644 --- a/src/ruby/ext/grpc/rb_channel.c +++ b/src/ruby/ext/grpc/rb_channel.c @@ -69,7 +69,8 @@ typedef struct bg_watched_channel { /* grpc_rb_channel wraps a grpc_channel. */ typedef struct grpc_rb_channel { - /* Ruby VALUE that must be written using RB_OBJ_WRITE for proper write barriers */ + /* Ruby VALUE that must be written using RB_OBJ_WRITE for proper write + * barriers */ VALUE credentials; grpc_channel_args args; /* The actual channel (protected in a wrapper to tell when it's safe to @@ -182,15 +183,15 @@ static void grpc_rb_channel_mark(void* p) { } } -static rb_data_type_t grpc_channel_data_type = {"grpc_channel", - {grpc_rb_channel_mark, - grpc_rb_channel_free, - GRPC_RB_MEMSIZE_UNAVAILABLE, - {NULL, NULL}}, - NULL, - NULL, - RUBY_TYPED_FREE_IMMEDIATELY | RUBY_TYPED_WB_PROTECTED -}; +static rb_data_type_t grpc_channel_data_type = { + "grpc_channel", + {grpc_rb_channel_mark, + grpc_rb_channel_free, + GRPC_RB_MEMSIZE_UNAVAILABLE, + {NULL, NULL}}, + NULL, + NULL, + RUBY_TYPED_FREE_IMMEDIATELY | RUBY_TYPED_WB_PROTECTED}; /* Allocates grpc_rb_channel instances. */ static VALUE grpc_rb_channel_alloc(VALUE cls) { diff --git a/src/ruby/ext/grpc/rb_channel_args.c b/src/ruby/ext/grpc/rb_channel_args.c index 7da02072006a3..a1df497bdbcff 100644 --- a/src/ruby/ext/grpc/rb_channel_args.c +++ b/src/ruby/ext/grpc/rb_channel_args.c @@ -36,8 +36,7 @@ static rb_data_type_t grpc_rb_channel_args_data_type = { {NULL, NULL}}, NULL, NULL, - RUBY_TYPED_FREE_IMMEDIATELY -}; + RUBY_TYPED_FREE_IMMEDIATELY}; /* A callback the processes the hash key values in channel_args hash */ static int grpc_rb_channel_create_in_process_add_args_hash_cb(VALUE key, diff --git a/src/ruby/ext/grpc/rb_channel_credentials.c b/src/ruby/ext/grpc/rb_channel_credentials.c index 7d5f755ac7432..425a91d1f6099 100644 --- a/src/ruby/ext/grpc/rb_channel_credentials.c +++ b/src/ruby/ext/grpc/rb_channel_credentials.c @@ -87,8 +87,7 @@ static rb_data_type_t grpc_rb_channel_credentials_data_type = { {NULL, NULL}}, NULL, NULL, - RUBY_TYPED_FREE_IMMEDIATELY | RUBY_TYPED_WB_PROTECTED -}; + RUBY_TYPED_FREE_IMMEDIATELY | RUBY_TYPED_WB_PROTECTED}; /* Allocates ChannelCredential instances. Provides safe initial defaults for the instance fields. */ diff --git a/src/ruby/ext/grpc/rb_compression_options.c b/src/ruby/ext/grpc/rb_compression_options.c index 704c7c2532a4b..505a4ccbb4912 100644 --- a/src/ruby/ext/grpc/rb_compression_options.c +++ b/src/ruby/ext/grpc/rb_compression_options.c @@ -80,8 +80,7 @@ static rb_data_type_t grpc_rb_compression_options_data_type = { {NULL, NULL}}, NULL, NULL, - RUBY_TYPED_FREE_IMMEDIATELY -}; + RUBY_TYPED_FREE_IMMEDIATELY}; /* Allocates CompressionOptions instances. Allocate the wrapped grpc compression options and diff --git a/src/ruby/ext/grpc/rb_grpc.c b/src/ruby/ext/grpc/rb_grpc.c index 06c3940e36ff0..f31bb9d9d513c 100644 --- a/src/ruby/ext/grpc/rb_grpc.c +++ b/src/ruby/ext/grpc/rb_grpc.c @@ -57,8 +57,7 @@ static rb_data_type_t grpc_rb_timespec_data_type = { {NULL, NULL}}, NULL, NULL, - RUBY_TYPED_FREE_IMMEDIATELY -}; + RUBY_TYPED_FREE_IMMEDIATELY}; /* Alloc func that blocks allocation of a given object by raising an * exception. */ diff --git a/src/ruby/ext/grpc/rb_server_credentials.c b/src/ruby/ext/grpc/rb_server_credentials.c index 7816a309c5854..0c075dd65988c 100644 --- a/src/ruby/ext/grpc/rb_server_credentials.c +++ b/src/ruby/ext/grpc/rb_server_credentials.c @@ -87,8 +87,7 @@ static const rb_data_type_t grpc_rb_server_credentials_data_type = { {NULL, NULL}}, NULL, NULL, - RUBY_TYPED_FREE_IMMEDIATELY -}; + RUBY_TYPED_FREE_IMMEDIATELY}; /* Allocates ServerCredential instances. Provides safe initial defaults for the instance fields. */ diff --git a/src/ruby/ext/grpc/rb_xds_channel_credentials.c b/src/ruby/ext/grpc/rb_xds_channel_credentials.c index 7f8b8d0f1938b..2a428f22d9d56 100644 --- a/src/ruby/ext/grpc/rb_xds_channel_credentials.c +++ b/src/ruby/ext/grpc/rb_xds_channel_credentials.c @@ -84,8 +84,7 @@ static rb_data_type_t grpc_rb_xds_channel_credentials_data_type = { GRPC_RB_MEMSIZE_UNAVAILABLE, NULL}, NULL, NULL, - RUBY_TYPED_FREE_IMMEDIATELY | RUBY_TYPED_WB_PROTECTED -}; + RUBY_TYPED_FREE_IMMEDIATELY | RUBY_TYPED_WB_PROTECTED}; /* Allocates ChannelCredential instances. Provides safe initial defaults for the instance fields. */ diff --git a/src/ruby/ext/grpc/rb_xds_server_credentials.c b/src/ruby/ext/grpc/rb_xds_server_credentials.c index 1b6b4fd79f116..98b513e7fd8db 100644 --- a/src/ruby/ext/grpc/rb_xds_server_credentials.c +++ b/src/ruby/ext/grpc/rb_xds_server_credentials.c @@ -85,8 +85,7 @@ static const rb_data_type_t grpc_rb_xds_server_credentials_data_type = { GRPC_RB_MEMSIZE_UNAVAILABLE, NULL}, NULL, NULL, - RUBY_TYPED_FREE_IMMEDIATELY -}; + RUBY_TYPED_FREE_IMMEDIATELY}; /* Allocates ServerCredential instances. Provides safe initial defaults for the instance fields. */