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 /string.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 'string.c')
-rw-r--r-- | string.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -385,7 +385,7 @@ str_alloc(VALUE klass) static inline VALUE empty_str_alloc(VALUE klass) { - if(RUBY_DTRACE_STRING_CREATE_ENABLED()) { + if (RUBY_DTRACE_STRING_CREATE_ENABLED()) { RUBY_DTRACE_STRING_CREATE(0, rb_sourcefile(), rb_sourceline()); } return str_alloc(klass); @@ -400,7 +400,7 @@ str_new(VALUE klass, const char *ptr, long len) rb_raise(rb_eArgError, "negative string size (or size too big)"); } - if(RUBY_DTRACE_STRING_CREATE_ENABLED()) { + if (RUBY_DTRACE_STRING_CREATE_ENABLED()) { RUBY_DTRACE_STRING_CREATE(len, rb_sourcefile(), rb_sourceline()); } @@ -932,9 +932,9 @@ rb_str_dup(VALUE str) VALUE rb_str_resurrect(VALUE str) { - if(RUBY_DTRACE_STRING_CREATE_ENABLED()) { - RUBY_DTRACE_STRING_CREATE( - RSTRING_LEN(str), rb_sourcefile(), rb_sourceline()); + if (RUBY_DTRACE_STRING_CREATE_ENABLED()) { + RUBY_DTRACE_STRING_CREATE(RSTRING_LEN(str), + rb_sourcefile(), rb_sourceline()); } return str_replace(str_alloc(rb_cString), str); } |