From 340e2ead7719266bd54ec16f1740d5b862cf11f8 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Sat, 11 Jul 2020 15:41:15 +0200 Subject: Export php_gd_libgdimageptr_from_zval_p() Some extension may need to retrieve the `gdImagePtr` from an `GdImage` object; thus, we export the respective function. To not being forced to include gd.h in php_gd.h, we use the opaque `struct gdImageStruct *` as return type. We also rename php_gd2.dll to php_gd.dll, since there's not really much point in giving the DLL a version number, since there is no php_gd.dll for years (if there ever has been). Renaming, on the other hand, matches the name on other systems (gd.so), and allows to actually use `ADD_EXTENSION_DEP()`. --- php.ini-development | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'php.ini-development') diff --git a/php.ini-development b/php.ini-development index 4acfa89a19..5471728ce0 100644 --- a/php.ini-development +++ b/php.ini-development @@ -901,7 +901,7 @@ default_socket_timeout = 60 ;extension=ffi ;extension=ftp ;extension=fileinfo -;extension=gd2 +;extension=gd ;extension=gettext ;extension=gmp ;extension=intl -- cgit v1.2.1