From 69ee40691f5500df2b79631afb86a3b2ae63c0d0 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Thu, 9 Mar 2000 14:53:30 +0000 Subject: - ups, fixed stupid compile errors --- ext/pdf/pdf.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'ext/pdf') 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)); -- cgit v1.2.1