ruby-changes:50382
From: nobu <ko1@a...>
Date: Tue, 20 Feb 2018 18:39:02 +0900 (JST)
Subject: [ruby-changes:50382] nobu:r62498 (trunk): Signature of rb_uint2inum and rb_int2inum
nobu 2018-02-20 18:38:55 +0900 (Tue, 20 Feb 2018) New Revision: 62498 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62498 Log: Signature of rb_uint2inum and rb_int2inum * include/ruby/ruby.h (rb_int2inum, rb_uint2inum): adjust declarations. [ruby-core:83424] [Bug #14036] Modified files: trunk/include/ruby/ruby.h Index: include/ruby/ruby.h =================================================================== --- include/ruby/ruby.h (revision 62497) +++ include/ruby/ruby.h (revision 62498) @@ -238,10 +238,10 @@ typedef char ruby_check_sizeof_voidp[SIZ https://github.com/ruby/ruby/blob/trunk/include/ruby/ruby.h#L238 #define RB_LONG2FIX(i) RB_INT2FIX(i) #define LONG2FIX(i) RB_INT2FIX(i) #define rb_fix_new(v) RB_INT2FIX(v) -VALUE rb_int2inum(SIGNED_VALUE); +VALUE rb_int2inum(intptr_t); #define rb_int_new(v) rb_int2inum(v) -VALUE rb_uint2inum(VALUE); +VALUE rb_uint2inum(uintptr_t); #define rb_uint_new(v) rb_uint2inum(v) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/