From: akr@... Date: 2014-02-12T11:48:08+00:00 Subject: [ruby-core:60664] [ruby-trunk - Feature #6083] Hide a Bignum definition Issue #6083 has been updated by Akira Tanaka. File hide-bignum-internal.patch added I made a patch for this issue. It just moves struct RBignum and related macros from include/ruby/ruby.h to internal.h, not bignum.c. It is because other files (such as gc.c, marshal.c, etc.) access internal of struct RBignum. ---------------------------------------- Feature #6083: Hide a Bignum definition https://bugs.ruby-lang.org/issues/6083#change-45095 * Author: Koichi Sasada * Status: Assigned * 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/