]> granicus.if.org Git - php/commitdiff
- changed cpdf_global_set_document_settings() to cpdf_global_set_document_limits()
authorUwe Steinmann <steinm@php.net>
Mon, 10 Jan 2000 12:42:05 +0000 (12:42 +0000)
committerUwe Steinmann <steinm@php.net>
Mon, 10 Jan 2000 12:42:05 +0000 (12:42 +0000)
NEWS
ext/cpdf/cpdf.c
ext/cpdf/php_cpdf.h

diff --git a/NEWS b/NEWS
index ee22144fe08f68f726998a4e2455ae3036aa2fba..b2cf1a75ff7d8d1348af07a5e213c845e89b3b2a 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,7 @@ PHP 4.0                                                                    NEWS
 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
 
 ?? ?? ????, Version 4.0 Beta 4
+- new function cpdf_set_document_limits()
 - Applied safe-mode patch to popen(). (Patch by Kristian Köhntopp)
 - str_repeat() now returns correct length. (Thies)
 - Don't assume libz and libpng are installed for the GD checks (Rasmus)
index c334503208884e3268f6b7271ce0389a117d6798..404bc5001fce5c176ca4419b3aab08ddb9a508de 100644 (file)
@@ -76,7 +76,7 @@ static int le_outline;
 #endif
 
 function_entry cpdf_functions[] = {
-  PHP_FE(cpdf_global_set_documents_settings, NULL)
+  PHP_FE(cpdf_global_set_document_limits, NULL)
        PHP_FE(cpdf_set_creator, NULL)
        PHP_FE(cpdf_set_title, NULL)
        PHP_FE(cpdf_set_subject, NULL)
@@ -191,9 +191,9 @@ PHP_MSHUTDOWN_FUNCTION(cpdf){
        return SUCCESS;
 }
 
-/* {{{ proto void cpdf_global_set_document_settings(int maxPages, int maxFonts, int maxImages, int maxAnnots, int maxObjects)
+/* {{{ proto void cpdf_global_set_document_limits(int maxPages, int maxFonts, int maxImages, int maxAnnots, int maxObjects)
    Sets document settings for all documents */
-PHP_FUNCTION(cpdf_global_set_documents_settings) {
+PHP_FUNCTION(cpdf_global_set_document_limits) {
        pval *argv[5];
        int argc;
        CPDF_TLS_VARS;
index 8c3dde47550fc6c035f94a9dbfc9e2f8391f41dc..517c0189440a40ac507aa3062323a3248280343c 100644 (file)
@@ -42,7 +42,7 @@ extern PHP_MINFO_FUNCTION(cpdf);
 extern PHP_MINIT_FUNCTION(cpdf);
 extern PHP_RINIT_FUNCTION(cpdf);
 extern PHP_MSHUTDOWN_FUNCTION(cpdf);
-PHP_FUNCTION(cpdf_global_set_documents_settings);
+PHP_FUNCTION(cpdf_global_set_document_limits);
 PHP_FUNCTION(cpdf_set_creator);
 PHP_FUNCTION(cpdf_set_title);
 PHP_FUNCTION(cpdf_set_subject);