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

ruby-changes:27283

From: nobu <ko1@a...>
Date: Wed, 20 Feb 2013 19:29:25 +0900 (JST)
Subject: [ruby-changes:27283] nobu:r39335 (trunk): ruby.h: HAVE_RB_SCAN_ARGS_OPTIONAL_HASH

nobu	2013-02-20 19:27:04 +0900 (Wed, 20 Feb 2013)

  New Revision: 39335

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

  Log:
    ruby.h: HAVE_RB_SCAN_ARGS_OPTIONAL_HASH
    
    * include/ruby/ruby.h (HAVE_RB_SCAN_ARGS_OPTIONAL_HASH): for
      rb_scan_args() optional hash feature.  [Bug #7861]

  Modified files:
    trunk/ChangeLog
    trunk/include/ruby/ruby.h

Index: include/ruby/ruby.h
===================================================================
--- include/ruby/ruby.h	(revision 39334)
+++ include/ruby/ruby.h	(revision 39335)
@@ -1347,6 +1347,9 @@ VALUE rb_funcall_passing_block(VALUE, ID https://github.com/ruby/ruby/blob/trunk/include/ruby/ruby.h#L1347
 int rb_scan_args(int, const VALUE*, const char*, ...);
 VALUE rb_call_super(int, const VALUE*);
 
+/* rb_scan_args() format allows ':' for optional hash */
+#define HAVE_RB_SCAN_ARGS_OPTIONAL_HASH 1
+
 VALUE rb_gv_set(const char*, VALUE);
 VALUE rb_gv_get(const char*);
 VALUE rb_iv_get(VALUE, const char*);
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 39334)
+++ ChangeLog	(revision 39335)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Wed Feb 20 19:27:02 2013  Nobuyoshi Nakada  <nobu@r...>
+
+	* include/ruby/ruby.h (HAVE_RB_SCAN_ARGS_OPTIONAL_HASH): for
+	  rb_scan_args() optional hash feature.  [Bug #7861]
+
 Wed Feb 20 18:02:26 2013  Nobuyoshi Nakada  <nobu@r...>
 
 	* configure.in (target_os): do not strip -gnu suffix on Linux if

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

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