summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/pdf/pdf.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/ext/pdf/pdf.c b/ext/pdf/pdf.c
index 6610f6495c..e535d4e540 100644
--- a/ext/pdf/pdf.c
+++ b/ext/pdf/pdf.c
@@ -438,8 +438,9 @@ PHP_FUNCTION(pdf_set_info_keywords) {
/* }}} */
-/* {{{ proto int pdf_open(int filedesc)
- Opens a new pdf document */
+/* {{{ proto int pdf_open([int filedesc])
+
+ Opens a new pdf document. If filedesc is NULL, document is created in memory. This is not yet fully supported.*/
PHP_FUNCTION(pdf_open) {
pval **file;
int id;
@@ -475,9 +476,11 @@ PHP_FUNCTION(pdf_open) {
id = zend_list_insert(pdf,PDF_GLOBAL(le_pdf));
RETURN_LONG(id);
}
+
/* }}} */
/* {{{ proto void pdf_close(int pdfdoc)
+
Closes the pdf document */
PHP_FUNCTION(pdf_close) {
pval *arg1;
@@ -501,6 +504,7 @@ PHP_FUNCTION(pdf_close) {
RETURN_TRUE;
}
+
/* }}} */
/* {{{ proto void pdf_begin_page(int pdfdoc, double width, double height)