From 2d1135769d3da222d7e5bbbec4fb0f213bc7c860 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sat, 5 Aug 2023 11:09:10 +0900 Subject: [PATCH] Adjust indents [ci skip] --- ext/yarp/api_pack.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/ext/yarp/api_pack.c b/ext/yarp/api_pack.c index d089f8cecaa..05f9dc42c08 100644 --- a/ext/yarp/api_pack.c +++ b/ext/yarp/api_pack.c @@ -188,7 +188,7 @@ pack_parse(VALUE self, VALUE version_symbol, VALUE variant_symbol, VALUE format_ const char *directive_start = format; yp_pack_result parse_result = yp_pack_parse(variant, &format, format_end, &type, &signed_type, &endian, - &size, &length_type, &length, &encoding); + &size, &length_type, &length, &encoding); const char *directive_end = format; @@ -214,14 +214,14 @@ pack_parse(VALUE self, VALUE version_symbol, VALUE variant_symbol, VALUE format_ } VALUE directive_args[9] = { version_symbol, - variant_symbol, - rb_usascii_str_new(directive_start, directive_end - directive_start), - pack_type_to_symbol(type), - pack_signed_to_symbol(signed_type), - pack_endian_to_symbol(endian), - pack_size_to_symbol(size), - pack_length_type_to_symbol(length_type), - (long) LONG2NUM(length) }; + variant_symbol, + rb_usascii_str_new(directive_start, directive_end - directive_start), + pack_type_to_symbol(type), + pack_signed_to_symbol(signed_type), + pack_endian_to_symbol(endian), + pack_size_to_symbol(size), + pack_length_type_to_symbol(length_type), + (long) LONG2NUM(length) }; rb_ary_push(directives_array, rb_class_new_instance(9, directive_args, rb_cYARPPackDirective)); }