]> granicus.if.org Git - php/commit
Make GMP more usable by third-party extensions.
authorSara Golemon <pollita@php.net>
Mon, 2 Oct 2017 21:26:05 +0000 (17:26 -0400)
committerSara Golemon <pollita@php.net>
Mon, 9 Oct 2017 17:23:10 +0000 (13:23 -0400)
commite05cba0806fed049854d3569401935a524861750
treec4cbb003eabaa24da9d8faf20f5d087a600ee646
parent39ded1d5f85ca3358cc8a52bb37e72a5eb5ce0db
Make GMP more usable by third-party extensions.

Export a PHPAPI function to return gmp_ce (and make the actual storage static).
Provide gmp_object struct in header w/ inline accessor.
Install php_gmp_int.h header.

Remove unnecessary `#ifdef HAVE_GMP` checks.
NEWS
ext/gmp/config.m4
ext/gmp/config.w32
ext/gmp/gmp.c
ext/gmp/php_gmp.h
ext/gmp/php_gmp_int.h [new file with mode: 0644]