summaryrefslogtreecommitdiff
path: root/ext/pdf
diff options
context:
space:
mode:
authorUwe Steinmann <steinm@php.net>2000-03-09 14:53:30 +0000
committerUwe Steinmann <steinm@php.net>2000-03-09 14:53:30 +0000
commit69ee40691f5500df2b79631afb86a3b2ae63c0d0 (patch)
tree2b0380fdd0f8fb0508d142946d2bfba425503116 /ext/pdf
parent045653dfed6746f17ada829cf1c82822cf944f93 (diff)
downloadphp-git-69ee40691f5500df2b79631afb86a3b2ae63c0d0.tar.gz
- ups, fixed stupid compile errors
Diffstat (limited to 'ext/pdf')
-rw-r--r--ext/pdf/pdf.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/ext/pdf/pdf.c b/ext/pdf/pdf.c
index 973bf04908..eb03b63aee 100644
--- a/ext/pdf/pdf.c
+++ b/ext/pdf/pdf.c
@@ -151,8 +151,6 @@ function_entry pdf_functions[] = {
PHP_FE(pdf_open_gif, NULL)
PHP_FE(pdf_close_image, NULL)
PHP_FE(pdf_place_image, NULL)
- PHP_FE(pdf_put_image, NULL)
- PHP_FE(pdf_execute_image, NULL)
PHP_FE(pdf_add_weblink, NULL)
PHP_FE(pdf_add_pdflink, NULL)
PHP_FE(pdf_add_annotation, NULL)
@@ -425,8 +423,7 @@ PHP_FUNCTION(pdf_open) {
if (0 > PDF_open_fp(pdf, fp))
RETURN_FALSE;
} else {
- if (0 > PDF_open_mem(pdf, pdf_flushwrite))
- RETURN_FALSE;
+ PDF_open_mem(pdf, pdf_flushwrite);
}
id = zend_list_insert(pdf,PDF_GLOBAL(le_pdf));