1
0
Fork 0
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:
nobu 2014-01-15 08:16:32 +00:00
parent 6951fbca43
commit 405ad52ad7

View file

@ -53,12 +53,12 @@ rb_fiddle_new_function(VALUE address, VALUE arg_types, VALUE ret_type)
static int static int
parse_keyword_arg_i(VALUE key, VALUE value, VALUE self) parse_keyword_arg_i(VALUE key, VALUE value, VALUE self)
{ {
if (key == ID2SYM(rb_intern("name"))) { if (key == ID2SYM(rb_intern("name"))) {
rb_iv_set(self, "@name", value); rb_iv_set(self, "@name", value);
} else { } else {
rb_raise(rb_eArgError, "unknown keyword: %"PRIsVALUE, key); rb_raise(rb_eArgError, "unknown keyword: %"PRIsVALUE, key);
} }
return ST_CONTINUE; return ST_CONTINUE;
} }
static VALUE static VALUE