[PHP-DEV] CVS update: php3/functions From: steinm (php-dev <email protected>)
Date: 06/01/99

Date: Tuesday June 1, 1999 @ 13:29
Author: steinm

Update of /repository/php3/functions
In directory php:/tmp/cvs-serv19404/functions

Modified Files:
        cpdf.c
Log Message:
- cpdf_set_transition() is cpdf_set_page_animation()

Index: php3/functions/cpdf.c
diff -u php3/functions/cpdf.c:1.8 php3/functions/cpdf.c:1.9
--- php3/functions/cpdf.c:1.8 Fri May 28 05:35:13 1999
+++ php3/functions/cpdf.c Tue Jun 1 13:29:38 1999
@@ -27,7 +27,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: cpdf.c,v 1.8 1999/05/28 09:35:13 steinm Exp $ */
+/* $Id: cpdf.c,v 1.9 1999/06/01 17:29:38 steinm Exp $ */
 /* cpdflib.h -- C language API definitions for ClibPDF library
  * Copyright (C) 1998 FastIO Systems, All Rights Reserved.
 */
@@ -140,7 +140,7 @@
         {"cpdf_setrgbcolor_fill", php3_cpdf_setrgbcolor_fill, NULL},
         {"cpdf_setrgbcolor_stroke", php3_cpdf_setrgbcolor_stroke,NULL},
         {"cpdf_setrgbcolor", php3_cpdf_setrgbcolor, NULL},
- {"cpdf_set_transition", php3_cpdf_set_transition, NULL},
+ {"cpdf_set_page_animation", php3_cpdf_set_page_animation, NULL},
         {"cpdf_finalize", php3_cpdf_finalize, NULL},
         {"cpdf_output_buffer", php3_cpdf_output_buffer, NULL},
         {"cpdf_save_to_file", php3_cpdf_save_to_file, NULL},
@@ -206,7 +206,7 @@
         id=arg1->value.lval;
         pdf = php3_list_find(id,&type);
         if (!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d (type=%d)",id, type);
+ php3_error(E_WARNING,"Unable to find identifier %d (type=%d)",id, type);
                 RETURN_FALSE;
         }
 
@@ -234,7 +234,7 @@
         id=arg1->value.lval;
         pdf = php3_list_find(id,&type);
         if (!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d (type=%d)",id, type);
+ php3_error(E_WARNING,"Unable to find identifier %d (type=%d)",id, type);
                 RETURN_FALSE;
         }
 
@@ -262,7 +262,7 @@
         id=arg1->value.lval;
         pdf = php3_list_find(id,&type);
         if (!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d (type=%d)",id, type);
+ php3_error(E_WARNING,"Unable to find identifier %d (type=%d)",id, type);
                 RETURN_FALSE;
         }
 
@@ -290,7 +290,7 @@
         id=arg1->value.lval;
         pdf = php3_list_find(id,&type);
         if (!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d (type=%d)",id, type);
+ php3_error(E_WARNING,"Unable to find identifier %d (type=%d)",id, type);
                 RETURN_FALSE;
         }
 
@@ -321,7 +321,7 @@
         pagemode=argv[1]->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -398,7 +398,7 @@
         id=arg1->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
         cpdf_close();
@@ -408,13 +408,14 @@
 }
 /* }}} */
 
+#define BUFFERLEN 40
 /* {{{ proto void cpdf_page_init(int pdfdoc, int pagenr, int orientation, int height, int width [, double unit])
    Starts page */
 void php3_cpdf_page_init(INTERNAL_FUNCTION_PARAMETERS) {
         pval *argv[6];
         int id, type, pagenr, orientation;
         int height, width, argc;
- char buffer[40];
+ char buffer[BUFFERLEN];
         int *pdf;
         CPDF_TLS_VARS;
 
@@ -436,7 +437,7 @@
         width = argv[4]->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -445,12 +446,13 @@
                 if(argv[5]->value.dval > 0.0)
                         cpdf_setDefaultDomainUnit(argv[5]->value.dval);
         }
- sprintf(buffer, "0 0 %d %d", width, height);
+ snprintf(BUFFERLEN, buffer, "0 0 %d %d", width, height);
         cpdf_pageInit(pagenr, orientation, buffer, buffer);
 
         RETURN_TRUE;
 }
 /* }}} */
+#undef BUFFERLEN
 
 /* {{{ proto void cpdf_finalize_page(int pdfdoc, int pagenr)
    Ends the page to save memory */
@@ -470,7 +472,7 @@
         pagenr=arg2->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -498,7 +500,7 @@
         pagenr=arg2->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -524,7 +526,7 @@
         id=arg1->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -550,7 +552,7 @@
         id=arg1->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -577,7 +579,7 @@
         id=arg1->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -608,7 +610,7 @@
         id=argv[0]->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -642,7 +644,7 @@
         id=arg1->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -669,7 +671,7 @@
         id=argv[0]->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -761,7 +763,7 @@
         id=arg1->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
         
@@ -805,7 +807,7 @@
         id=arg1->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
         
@@ -832,7 +834,7 @@
         id=arg1->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
         
@@ -859,11 +861,11 @@
         id=arg1->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
         
- cpdf_setHorizontalScaling((float) arg2->value.dval);
+ cpdf_setHorizontalScaling((float) arg2->value.dval * 100.0);
 
         RETURN_TRUE;
 }
@@ -886,7 +888,7 @@
         id=arg1->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
         
@@ -917,7 +919,7 @@
         matrix=arg2->value.ht;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
         
@@ -969,7 +971,7 @@
         id=argv[0]->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
         
@@ -1003,7 +1005,7 @@
         id=arg1->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -1030,7 +1032,7 @@
         id=arg1->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -1057,7 +1059,7 @@
         id=arg1->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -1085,7 +1087,7 @@
         id=arg1->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -1111,7 +1113,7 @@
         id=arg1->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -1137,7 +1139,7 @@
         id=arg1->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -1165,7 +1167,7 @@
         id=arg1->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -1193,7 +1195,7 @@
         id=arg1->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -1220,7 +1222,7 @@
         id=arg1->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -1236,6 +1238,7 @@
         pval *arg1, *arg2;
         int id, type;
         int *pdf;
+ int flatness;
         CPDF_TLS_VARS;
 
         if (ARG_COUNT(ht) != 2 || getParameters(ht, 2, &arg1, &arg2) == FAILURE) {
@@ -1247,7 +1250,7 @@
         id=arg1->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -1279,7 +1282,7 @@
         id=arg1->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -1311,7 +1314,7 @@
         id=arg1->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -1343,7 +1346,7 @@
         id=arg1->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -1375,7 +1378,7 @@
         id=arg1->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -1385,12 +1388,13 @@
 }
 /* }}} */
 
+#define BUFFERLEN 20
 /* {{{ proto void cpdf_setdash(int pdfdoc, long white, long black)
    Sets dash pattern */
 void php3_cpdf_setdash(INTERNAL_FUNCTION_PARAMETERS) {
         pval *arg1, *arg2, *arg3;
         int id, type;
- char buffer[20];
+ char buffer[BUFFERLEN];
         int *pdf;
         CPDF_TLS_VARS;
 
@@ -1404,16 +1408,17 @@
         id=arg1->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
- sprintf(buffer, "[%d %d] 0", arg2->value.lval, arg3->value.lval);
+ snprintf(BUFFERLEN, buffer, "[%d %d] 0", arg2->value.lval, arg3->value.lval);
         cpdf_setdash(buffer);
 
         RETURN_TRUE;
 }
 /* }}} */
+#undef BUFFERLEN
 
 /* {{{ proto void cpdf_moveto(int pdfdoc, double x, double y[, int mode])
    Sets current point */
@@ -1435,7 +1440,7 @@
         id=argv[0]->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -1472,7 +1477,7 @@
         id=argv[0]->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -1513,7 +1518,7 @@
         id=argv[0]->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -1560,7 +1565,7 @@
         id=argv[0]->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -1597,7 +1602,7 @@
         id=argv[0]->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -1635,7 +1640,7 @@
         id=argv[0]->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -1675,7 +1680,7 @@
         id=argv[0]->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -1714,7 +1719,7 @@
         id=argv[0]->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -1753,7 +1758,7 @@
         id=arg1->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -1779,7 +1784,7 @@
         id=arg1->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -1805,7 +1810,7 @@
         id=arg1->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -1832,7 +1837,7 @@
         id=arg1->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -1858,7 +1863,7 @@
         id=arg1->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -1884,7 +1889,7 @@
         id=arg1->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -1911,7 +1916,7 @@
         id=arg1->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -1939,7 +1944,7 @@
         id=arg1->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -1966,7 +1971,7 @@
         id=arg1->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -1993,7 +1998,7 @@
         id=arg1->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -2020,7 +2025,7 @@
         id=arg1->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -2049,7 +2054,7 @@
         id=arg1->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -2078,7 +2083,7 @@
         id=arg1->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -2107,7 +2112,7 @@
         id=arg1->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -2117,9 +2122,9 @@
 }
 /* }}} */
 
-/* {{{ proto void cpdf_set_transition(int pdfdoc, int transition, double duration, double direction, int orientation, int inout)
+/* {{{ proto void cpdf_set_page_animation(int pdfdoc, int transition, double duration, double direction, int orientation, int inout)
    Sets transition between pages */
-void php3_cpdf_set_transition(INTERNAL_FUNCTION_PARAMETERS) {
+void php3_cpdf_set_page_animation(INTERNAL_FUNCTION_PARAMETERS) {
         pval *arg1, *arg2, *arg3, *arg4, *arg5, *arg6;
         int id, type;
         int *pdf;
@@ -2138,7 +2143,7 @@
         id=arg1->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -2165,7 +2170,7 @@
         id=arg1->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -2193,7 +2198,7 @@
         id=arg1->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -2222,7 +2227,7 @@
         id=arg1->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -2269,7 +2274,7 @@
         id=argv[0]->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -2334,7 +2339,7 @@
         id=argv[0]->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -2416,7 +2421,7 @@
         id=argv[0]->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -2475,7 +2480,7 @@
         id=argv[0]->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 
@@ -2532,7 +2537,7 @@
         id=argv[0]->value.lval;
         pdf = php3_list_find(id,&type);
         if(!pdf || type!=CPDF_GLOBAL(le_cpdf)) {
- php3_error(E_WARNING,"Unable to find file identifier %d",id);
+ php3_error(E_WARNING,"Unable to find identifier %d",id);
                 RETURN_FALSE;
         }
 

-- 
PHP Development Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>