[prev in list] [next in list] [prev in thread] [next in thread]
List: pecl-cvs
Subject: [PECL-CVS] cvs: pecl /ps ps.c
From: "Uwe Steinmann" <steinm () php ! net>
Date: 2006-02-28 15:58:02
Message-ID: cvssteinm1141142282 () cvsserver
[Download RAW message or body]
steinm Tue Feb 28 15:58:02 2006 UTC
Modified files:
/pecl/ps ps.c
Log:
- Expect Z_LVAL_P instead of Z_DVAL_P in Ps_get_value()
- fixed some return values
http://cvs.php.net/viewcvs.cgi/pecl/ps/ps.c?r1=1.26&r2=1.27&diff_format=u
Index: pecl/ps/ps.c
diff -u pecl/ps/ps.c:1.26 pecl/ps/ps.c:1.27
--- pecl/ps/ps.c:1.26 Tue Dec 6 15:20:33 2005
+++ pecl/ps/ps.c Tue Feb 28 15:58:02 2006
@@ -263,7 +263,7 @@
php_info_print_table_start();
php_info_print_table_row(2, "PS Support", "enabled" );
php_info_print_table_row(2, "PSlib Version", tmp );
- php_info_print_table_row(2, "Revision", "$Revision: 1.26 $" );
+ php_info_print_table_row(2, "Revision", "$Revision: 1.27 $" );
php_info_print_table_end();
}
@@ -463,7 +463,7 @@
PSDOC_FROM_ZVAL(ps, &zps);
if(zmod) {
- value = (double) PS_get_value(ps, name, (float) Z_DVAL_P(zmod));
+ value = (double) PS_get_value(ps, name, (float) Z_LVAL_P(zmod));
} else {
value = (double) PS_get_value(ps, name, 0.0);
}
@@ -2043,7 +2043,7 @@
int patid;
if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rddddl", &zps, \
&width, &height, &xstep, &ystep, &painttype)) {
- return FALSE;
+ return;
}
PSDOC_FROM_ZVAL(ps, &zps);
@@ -2086,7 +2086,7 @@
int tempid;
if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rdd", &zps, \
&width, &height)) {
- return FALSE;
+ return;
}
PSDOC_FROM_ZVAL(ps, &zps);
--
PECL CVS Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic