[ruby-core:74467] Re: [ruby-cvs:61324] mrkn:r54163 (trunk): * bignum.c (rb_big_even_p, rb_big_odd_p): make them public functions

From: Kenta Murata <mrkn@...>
Date: 2016-03-19 16:00:54 UTC
List: ruby-core #74467
I fully agree with what you pointed out.
Thanks for your advice.


2016年3月18日(金) 10:31 Tanaka Akira <akr@fsij.org>:

> 2016-03-18 2:07 GMT+09:00  <mrkn@ruby-lang.org>:
> > mrkn    2016-03-18 02:07:29 +0900 (Fri, 18 Mar 2016)
> >
> >   New Revision: 54163
>
> >     * include/ruby/intern.h (rb_big_even_p, rb_big_odd_p): add prototype
> >       declarations.
>
> I recommend internal.h instead of include/ruby/intern.h.
> internal.h is the header file only for ruby itself.
> intern.h is the header file exported to applications.
>
> Since a function declared in intern.h is exported to applications,
> it is difficult to remove it even if ruby itself doesn't use it.
> --
> Tanaka Akira
>

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next