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

ruby-changes:32528

From: nobu <ko1@a...>
Date: Wed, 15 Jan 2014 17:16:36 +0900 (JST)
Subject: [ruby-changes:32528] nobu:r44607 (trunk): function.c: adjust indent

nobu	2014-01-15 17:16:32 +0900 (Wed, 15 Jan 2014)

  New Revision: 44607

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44607

  Log:
    function.c: adjust indent
    
    * ext/fiddle/function.c (parse_keyword_arg_i): adjust indent.

  Modified files:
    trunk/ext/fiddle/function.c
Index: ext/fiddle/function.c
===================================================================
--- ext/fiddle/function.c	(revision 44606)
+++ ext/fiddle/function.c	(revision 44607)
@@ -53,12 +53,12 @@ rb_fiddle_new_function(VALUE address, VA https://github.com/ruby/ruby/blob/trunk/ext/fiddle/function.c#L53
 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

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

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