summaryrefslogtreecommitdiff
path: root/php.ini-development
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2020-07-11 15:41:15 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2020-07-11 19:33:20 +0200
commit340e2ead7719266bd54ec16f1740d5b862cf11f8 (patch)
tree719a8748621b89c7b70389abc2ff7f835543e7cf /php.ini-development
parentd5a0370828467d3805a774f007db290a7a7eea97 (diff)
downloadphp-git-340e2ead7719266bd54ec16f1740d5b862cf11f8.tar.gz
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()`.
Diffstat (limited to 'php.ini-development')
-rw-r--r--php.ini-development2
1 files changed, 1 insertions, 1 deletions
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