diff options
author | Nobuyoshi Nakada <[email protected]> | 2023-08-05 11:09:10 +0900 |
---|---|---|
committer | git <[email protected]> | 2023-08-08 13:21:38 +0000 |
commit | d931bf223216e87e8befebd8d631d9f25c23d564 (patch) | |
tree | 702a59d4c1e63a12e49600681f2d55e6ca047bf2 /yarp/api_pack.c | |
parent | 72d1a790cfe0e4a457db98c587f1acaa5e39f001 (diff) |
[ruby/yarp] Adjust indents [ci skip]
https://github.com/ruby/yarp/commit/2d1135769d
Diffstat (limited to 'yarp/api_pack.c')
-rw-r--r-- | yarp/api_pack.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/yarp/api_pack.c b/yarp/api_pack.c index d089f8ceca..05f9dc42c0 100644 --- a/yarp/api_pack.c +++ b/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)); } |