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

ruby-changes:42123

From: mrkn <ko1@a...>
Date: Sun, 20 Mar 2016 01:08:57 +0900 (JST)
Subject: [ruby-changes:42123] mrkn:r54196 (trunk): * include/ruby/intern.h (rb_big_odd_p, rb_big_even_p): move to

mrkn	2016-03-20 01:08:52 +0900 (Sun, 20 Mar 2016)

  New Revision: 54196

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

  Log:
    * include/ruby/intern.h (rb_big_odd_p, rb_big_even_p): move to
      internal.h so that they are exported only for ruby itself.
    
    * internal.h (rb_big_odd_p, rb_big_even_p): ditto.

  Modified files:
    trunk/ChangeLog
    trunk/include/ruby/intern.h
    trunk/internal.h
Index: include/ruby/intern.h
===================================================================
--- include/ruby/intern.h	(revision 54195)
+++ include/ruby/intern.h	(revision 54196)
@@ -131,8 +131,6 @@ VALUE rb_big_or(VALUE, VALUE); https://github.com/ruby/ruby/blob/trunk/include/ruby/intern.h#L131
 VALUE rb_big_xor(VALUE, VALUE);
 VALUE rb_big_lshift(VALUE, VALUE);
 VALUE rb_big_rshift(VALUE, VALUE);
-VALUE rb_big_odd_p(VALUE);
-VALUE rb_big_even_p(VALUE);
 
 /* For rb_integer_pack and rb_integer_unpack: */
 /* "MS" in MSWORD and MSBYTE means "most significant" */
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 54195)
+++ ChangeLog	(revision 54196)
@@ -1,3 +1,10 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sat Mar 20 00:58:00 2016  Kenta Murata  <mrkn@m...>
+
+	* include/ruby/intern.h (rb_big_odd_p, rb_big_even_p): move to
+	  internal.h so that they are exported only for ruby itself.
+
+	* internal.h (rb_big_odd_p, rb_big_even_p): ditto.
+
 Sat Mar 19 21:56:23 2016  Nobuyoshi Nakada  <nobu@r...>
 
 	* test/lib/test/unit.rb (Test::Unit::StatusLine#failed): defer
Index: internal.h
===================================================================
--- internal.h	(revision 54195)
+++ internal.h	(revision 54196)
@@ -744,6 +744,8 @@ extern const char ruby_digitmap[]; https://github.com/ruby/ruby/blob/trunk/internal.h#L744
 VALUE rb_big_fdiv(VALUE x, VALUE y);
 VALUE rb_big_uminus(VALUE x);
 VALUE rb_big_hash(VALUE);
+VALUE rb_big_odd_p(VALUE);
+VALUE rb_big_even_p(VALUE);
 VALUE rb_integer_float_cmp(VALUE x, VALUE y);
 VALUE rb_integer_float_eq(VALUE x, VALUE y);
 

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

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