Project

General

Profile

Actions

Feature #6083

closed

Hide a Bignum definition

Added by ko1 (Koichi Sasada) over 12 years ago. Updated over 10 years ago.

Status:
Closed
Target version:
[ruby-core:42891]

Description

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) hide-bignum-internal.patch akr (Akira Tanaka), 02/12/2014 11:45 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0