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

From: Tanaka Akira <akr@...>
Date: 2016-03-18 01:30:53 UTC
List: ruby-core #74445
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