steinm Tue Feb 4 05:57:34 2003 EDT Modified files: /php4/ext/pdf pdf.c Log: - fixed some prototypes and folding Index: php4/ext/pdf/pdf.c diff -u php4/ext/pdf/pdf.c:1.119 php4/ext/pdf/pdf.c:1.120 --- php4/ext/pdf/pdf.c:1.119 Tue Feb 4 05:23:11 2003 +++ php4/ext/pdf/pdf.c Tue Feb 4 05:57:34 2003 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: pdf.c,v 1.119 2003/02/04 10:23:11 steinm Exp $ */ +/* $Id: pdf.c,v 1.120 2003/02/04 10:57:34 steinm Exp $ */ /* pdflib 2.02 ... 3.0x is subject to the ALADDIN FREE PUBLIC LICENSE. Copyright (C) 1997-1999 Thomas Merz. 2000-2001 PDFlib GmbH */ @@ -332,7 +332,7 @@ #else php_info_print_table_row(2, "PDFlib GmbH Version", tmp ); #endif - php_info_print_table_row(2, "Revision", "$Revision: 1.119 $" ); + php_info_print_table_row(2, "Revision", "$Revision: 1.120 $" ); php_info_print_table_end(); } @@ -444,7 +444,7 @@ } /* }}} */ -/* {{{ proto int pdf_open([int filedesc]) +/* {{{ proto resource pdf_open([int filedesc]) Opens a new pdf document. If filedesc is NULL, document is created in memory. This is the old interface, only for compatibility use pdf_new + pdf_open_file instead */ PHP_FUNCTION(pdf_open) { @@ -2242,7 +2242,7 @@ /* RJS: START OF NEW CODE */ -/* {{{ proto int pdf_new() +/* {{{ proto resource pdf_new() Creates a new PDF object */ PHP_FUNCTION(pdf_new) { @@ -2256,7 +2256,6 @@ ZEND_REGISTER_RESOURCE(return_value, pdf, le_pdf); } - /* }}} */ /* {{{ proto int pdf_get_majorversion() @@ -2269,6 +2268,7 @@ RETURN_LONG(PDF_get_majorversion()); } +/* }}} */ /* {{{ proto int pdf_get_minorversion() Returns the minor version number of the PDFlib */ @@ -2280,8 +2280,8 @@ RETURN_LONG(PDF_get_minorversion()); } - /* }}} */ + /* {{{ proto bool pdf_delete(int pdfdoc) Deletes the PDF object */ PHP_FUNCTION(pdf_delete) @@ -2298,7 +2298,6 @@ RETURN_TRUE; } - /* }}} */ /* {{{ proto int pdf_open_file(int pdfdoc [, char filename]) @@ -2339,7 +2338,6 @@ RETURN_TRUE; } - /* }}} */ /* {{{ proto string pdf_get_buffer(int pdfdoc) @@ -2361,7 +2359,6 @@ RETURN_STRINGL((char *)buffer, size, 1); } - /* }}} */ /* {{{ proto int pdf_findfont(int pdfdoc, string fontname, string encoding [, int embed])
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php