mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
function.c: adjust indent
* ext/fiddle/function.c (parse_keyword_arg_i): adjust indent. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6951fbca43
commit
405ad52ad7
1 changed files with 6 additions and 6 deletions
|
@ -53,12 +53,12 @@ rb_fiddle_new_function(VALUE address, VALUE arg_types, VALUE ret_type)
|
|||
static int
|
||||
parse_keyword_arg_i(VALUE key, VALUE value, VALUE self)
|
||||
{
|
||||
if (key == ID2SYM(rb_intern("name"))) {
|
||||
rb_iv_set(self, "@name", value);
|
||||
} else {
|
||||
rb_raise(rb_eArgError, "unknown keyword: %"PRIsVALUE, key);
|
||||
}
|
||||
return ST_CONTINUE;
|
||||
if (key == ID2SYM(rb_intern("name"))) {
|
||||
rb_iv_set(self, "@name", value);
|
||||
} else {
|
||||
rb_raise(rb_eArgError, "unknown keyword: %"PRIsVALUE, key);
|
||||
}
|
||||
return ST_CONTINUE;
|
||||
}
|
||||
|
||||
static VALUE
|
||||
|
|
Loading…
Reference in a new issue