diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-01 15:25:28 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-01 15:25:28 +0000 |
commit | 66fd9d44d87240164588b42c887b6e3d6ee99308 (patch) | |
tree | f2b2fee9d1c6f273e07c32f7f84dc5bb5d7c7ba8 /array.c | |
parent | 82b1bfe417120de96737de88f406e1b877cef5f7 (diff) | |
download | ruby-66fd9d44d87240164588b42c887b6e3d6ee99308.tar.gz |
adjust style.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'array.c')
-rw-r--r-- | array.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -379,7 +379,7 @@ ary_alloc(VALUE klass) static VALUE empty_ary_alloc(VALUE klass) { - if(RUBY_DTRACE_ARRAY_CREATE_ENABLED()) { + if (RUBY_DTRACE_ARRAY_CREATE_ENABLED()) { RUBY_DTRACE_ARRAY_CREATE(0, rb_sourcefile(), rb_sourceline()); } @@ -398,7 +398,7 @@ ary_new(VALUE klass, long capa) rb_raise(rb_eArgError, "array size too big"); } - if(RUBY_DTRACE_ARRAY_CREATE_ENABLED()) { + if (RUBY_DTRACE_ARRAY_CREATE_ENABLED()) { RUBY_DTRACE_ARRAY_CREATE(capa, rb_sourcefile(), rb_sourceline()); } @@ -5042,7 +5042,7 @@ rb_ary_product(int argc, VALUE *argv, VALUE ary) } /* put it on the result array */ - if(NIL_P(result)) { + if (NIL_P(result)) { FL_SET(t0, FL_USER5); rb_yield(subarray); if (! FL_TEST(t0, FL_USER5)) { |