diff options
| author | Ilia Alshanetsky <iliaa@php.net> | 2003-03-05 16:04:20 +0000 |
|---|---|---|
| committer | Ilia Alshanetsky <iliaa@php.net> | 2003-03-05 16:04:20 +0000 |
| commit | 68679a9d0eaae9326cb94c51d8a66d1de2afda93 (patch) | |
| tree | ab4ddce58782a54896794a3ef94eee01cf157829 /ext/gd/php_gd.h | |
| parent | 81b97d6f8e8b7e8b80677fdce11b9b55380503d5 (diff) | |
| download | php-git-68679a9d0eaae9326cb94c51d8a66d1de2afda93.tar.gz | |
Synchronized bundled gd with gd 2.0.11 (bug fixes).
MFH
1) Use Zend allocation macros instead of native allocation functions.
2) Better error reporting mechanism.
3) Some style fixes, which allow easier code synchronization & maintenance.
Diffstat (limited to 'ext/gd/php_gd.h')
| -rw-r--r-- | ext/gd/php_gd.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/ext/gd/php_gd.h b/ext/gd/php_gd.h index 189c7d98bb..d5614dc3d7 100644 --- a/ext/gd/php_gd.h +++ b/ext/gd/php_gd.h @@ -1,4 +1,4 @@ -/* +/* +----------------------------------------------------------------------+ | PHP Version 4 | +----------------------------------------------------------------------+ @@ -58,11 +58,14 @@ extern zend_module_entry gd_module_entry; PHP_MINFO_FUNCTION(gd); PHP_MINIT_FUNCTION(gd); PHP_MSHUTDOWN_FUNCTION(gd); +PHP_RSHUTDOWN_FUNCTION(gd); PHP_FUNCTION(gd_info); PHP_FUNCTION(imagearc); +PHP_FUNCTION(imageellipse); PHP_FUNCTION(imagechar); PHP_FUNCTION(imagecharup); +PHP_FUNCTION(imageistruecolor); PHP_FUNCTION(imagecolorallocate); PHP_FUNCTION(imagepalettecopy); PHP_FUNCTION(imagecolorat); @@ -83,26 +86,27 @@ PHP_FUNCTION(imagecreate); PHP_FUNCTION(imageftbbox); PHP_FUNCTION(imagefttext); +#ifdef HAVE_LIBGD20 PHP_FUNCTION(imagecreatetruecolor); -PHP_FUNCTION(imageistruecolor); PHP_FUNCTION(imagetruecolortopalette); PHP_FUNCTION(imagesetthickness); -PHP_FUNCTION(imageellipse); PHP_FUNCTION(imagefilledellipse); PHP_FUNCTION(imagefilledarc); PHP_FUNCTION(imagealphablending); PHP_FUNCTION(imagesavealpha); +PHP_FUNCTION(imagecolorallocatealpha); PHP_FUNCTION(imagecolorresolvealpha); PHP_FUNCTION(imagecolorclosestalpha); PHP_FUNCTION(imagecolorexactalpha); PHP_FUNCTION(imagecopyresampled); +#endif #ifdef HAVE_GD_BUNDLED PHP_FUNCTION(imagerotate); +PHP_FUNCTION(imageantialias); #endif PHP_FUNCTION(imagesetthickness); -PHP_FUNCTION(imagesettile); PHP_FUNCTION(imagecopymergegray); PHP_FUNCTION(imagesetbrush); PHP_FUNCTION(imagesettile); @@ -168,6 +172,7 @@ PHP_FUNCTION(image2wbmp); #if HAVE_GD_BUNDLED PHP_FUNCTION(imagelayereffect); PHP_FUNCTION(imagecolormatch); +PHP_FUNCTION(imagefilter); #endif PHP_GD_API int phpi_get_le_gd(void); |
