Re: Expose gmp_ce and friends
| From: | Johannes Schlüter | Date: | Thu, 05 Oct 2017 12:50:09 +0000 |
| Subject: | Re: Expose gmp_ce and friends | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-100825@lists.php.net to get a copy of this message | ||
On Mo, 2017-10-02 at 17:33 -0400, Sara Golemon wrote:
> Stas specifically, but also others:
>
> Any objections if I apply
> ¡
> T½©(&.é:£https://github.com/php/php-src/compare/master...sgolemon:gmp.export
> to
> make consuming GMP objects from third-party extensions easier?
>
> -Sara
I would prefer not exporting the php_gmp.h, but a gmp.h (or similar)
and let php_gmp.h there for main/builtin_functions.c only. If a
consumer wants access to the module_entry they can query EG(modules)
and other declarations in there should be "private".
johannes