diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2020-07-11 15:41:15 +0200 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2020-07-11 19:33:20 +0200 |
commit | 340e2ead7719266bd54ec16f1740d5b862cf11f8 (patch) | |
tree | 719a8748621b89c7b70389abc2ff7f835543e7cf /win32 | |
parent | d5a0370828467d3805a774f007db290a7a7eea97 (diff) | |
download | php-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 'win32')
-rw-r--r-- | win32/build/confutils.js | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/win32/build/confutils.js b/win32/build/confutils.js index 2f2c01e47d..e71757748f 100644 --- a/win32/build/confutils.js +++ b/win32/build/confutils.js @@ -2026,9 +2026,6 @@ function generate_tmp_php_ini() var directive = (extensions_enabled[i][2] ? 'zend_extension' : 'extension'); var ext_name = extensions_enabled[i][0]; - if ("gd" == ext_name) { - ext_name = "gd2"; - } if (!is_on_exclude_list_for_test_ini(ext_list, ext_name)) { INI.WriteLine(directive + "=php_" + ext_name + ".dll"); |