summaryrefslogtreecommitdiff
path: root/ext/gd
diff options
context:
space:
mode:
authorUwe Steinmann <steinm@php.net>1999-08-05 16:25:10 +0000
committerUwe Steinmann <steinm@php.net>1999-08-05 16:25:10 +0000
commitd172a6b581d8af9041b18d014f92ea5846c93c09 (patch)
tree5e52b7026c036b721e4cfa6cf52cbe1c685cb5b1 /ext/gd
parent48c36437533ae9e66c08e465d709c428891e594f (diff)
downloadphp-git-d172a6b581d8af9041b18d014f92ea5846c93c09.tar.gz
Huge patch to update the hyperwave and pdflib module.
Only pdflib >2.0 is supported. None is tested yet. Hyperwave seems to be broken now.
Diffstat (limited to 'ext/gd')
-rw-r--r--ext/gd/gd.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/gd/gd.c b/ext/gd/gd.c
index 97c47f14e2..f3d3eae22e 100644
--- a/ext/gd/gd.c
+++ b/ext/gd/gd.c
@@ -198,6 +198,12 @@ PHP_MSHUTDOWN_FUNCTION(gd)
return SUCCESS;
}
+/* Need this for cpdf. See also comment in file.c php3i_get_le_fp() */
+PHPAPI int phpi_get_le_gd(void){
+ GD_TLS_VARS;
+ return GD_GLOBAL(le_gd);
+}
+
/********************************************************************/
/* gdImageColorResolve is a replacement for the old fragment: */
/* */