[前][次][番号順一覧][スレッド一覧]

ruby-changes:42716

From: nobu <ko1@a...>
Date: Wed, 27 Apr 2016 13:32:31 +0900 (JST)
Subject: [ruby-changes:42716] nobu:r54790 (trunk): internal.h: adjust style

nobu	2016-04-27 14:29:07 +0900 (Wed, 27 Apr 2016)

  New Revision: 54790

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54790

  Log:
    internal.h: adjust style

  Modified files:
    trunk/internal.h
Index: internal.h
===================================================================
--- internal.h	(revision 54789)
+++ internal.h	(revision 54790)
@@ -292,7 +292,8 @@ rb_fix_mul_fix(VALUE x, VALUE y) https://github.com/ruby/ruby/blob/trunk/internal.h#L292
  * Note that div may overflow fixnum.
  */
 static inline void
-rb_fix_divmod_fix(VALUE a, VALUE b, VALUE *divp, VALUE *modp) {
+rb_fix_divmod_fix(VALUE a, VALUE b, VALUE *divp, VALUE *modp)
+{
     /* assume / and % comply C99.
      * ldiv(3) won't be inlined by GCC and clang.
      * I expect / and % are compiled as single idiv.
@@ -319,7 +320,8 @@ rb_fix_divmod_fix(VALUE a, VALUE b, VALU https://github.com/ruby/ruby/blob/trunk/internal.h#L320
  * This behaves different from C99 for negative arguments.
  */
 static inline VALUE
-rb_fix_div_fix(VALUE x, VALUE y) {
+rb_fix_div_fix(VALUE x, VALUE y)
+{
     VALUE div;
     rb_fix_divmod_fix(x, y, &div, NULL);
     return div;
@@ -329,7 +331,8 @@ rb_fix_div_fix(VALUE x, VALUE y) { https://github.com/ruby/ruby/blob/trunk/internal.h#L331
  * This behaves different from C99 for negative arguments.
  */
 static inline VALUE
-rb_fix_mod_fix(VALUE x, VALUE y) {
+rb_fix_mod_fix(VALUE x, VALUE y)
+{
     VALUE mod;
     rb_fix_divmod_fix(x, y, NULL, &mod);
     return mod;

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]