Issue #6083 has been updated by Aaron Patterson.


Hi,

r44957 breaks the sqlite3 gem.  I guess it uses the RBIGNUM_LEN macro:

  https://github.com/sparklemotion/sqlite3-ruby/blob/2070182f461f1e2d76b9d40aa45fed2d04e9a4d6/ext/sqlite3/statement.c#L271-274

What should we use as a replacement?  @Naruse, I think you added this check to the sqlite3 gem:

  https://github.com/sparklemotion/sqlite3-ruby/commit/7dbd82d3

Thanks!

----------------------------------------
Feature #6083: Hide a Bignum definition
https://bugs.ruby-lang.org/issues/6083#change-45454

* Author: Koichi Sasada
* Status: Closed
* Priority: Normal
* Assignee: Yukihiro Matsumoto
* Category: 
* Target version: Next Major
----------------------------------------
Now, the struct RBignum which is a definition of Bignum in C is located in include/ruby/ruby.h.  It means we can't change implementation of Bignum.  For example, using GMP as Bignum representation.

I propose to move the struct RBignum definition from include/ruby/ruby.h to bignum.c.  I believe no one use struct RBignum directly (except core).

It has possibility to break binary compatibility.



---Files--------------------------------
hide-bignum-internal.patch (4.66 KB)


-- 
http://bugs.ruby-lang.org/