cvs: pear /XMMS xmms.c
| From: | Rasmus Lerdorf | Date: | Mon, 13 Aug 2001 19:38:30 +0000 |
| Subject: | cvs: pear /XMMS xmms.c | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-495@lists.php.net to get a copy of this message | ||
rasmus Mon Aug 13 15:38:30 2001 EDT
Modified files:
/pear/XMMS xmms.c
Log:
Add TSRMLS_CC
Index: pear/XMMS/xmms.c
diff -u pear/XMMS/xmms.c:1.11 pear/XMMS/xmms.c:1.12
--- pear/XMMS/xmms.c:1.11 Mon Aug 13 06:00:26 2001
+++ pear/XMMS/xmms.c Mon Aug 13 15:38:30 2001
@@ -247,7 +247,7 @@
int len, i, single=0;
char *title, *file;
- if (zend_parse_parameters(ZEND_NUM_ARGS(), "|z", &var) == FAILURE)
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|z", &var) == FAILURE)
return;
if(!xmms_remote_is_running(XG(session))) {
@@ -314,7 +314,7 @@
int argc = ZEND_NUM_ARGS();
long pos;
- if (zend_parse_parameters(argc, "|l", &pos) == FAILURE)
+ if (zend_parse_parameters(argc TSRMLS_CC, "|l", &pos) == FAILURE)
return;
if(!xmms_remote_is_running(XG(session))) {
@@ -482,7 +482,7 @@
zend_bool setting;
gboolean current;
- if (zend_parse_parameters(argc, "|b", &setting) == FAILURE)
+ if (zend_parse_parameters(argc TSRMLS_CC, "|b", &setting) == FAILURE)
return;
if(!xmms_remote_is_running(XG(session))) {
@@ -531,7 +531,7 @@
zend_bool setting;
gboolean current;
- if (zend_parse_parameters(argc, "|b", &setting) == FAILURE)
+ if (zend_parse_parameters(argc TSRMLS_CC, "|b", &setting) == FAILURE)
return;
if(!xmms_remote_is_running(XG(session))) {
@@ -560,7 +560,7 @@
{
zval *songs = NULL;
- if (zend_parse_parameters(ZEND_NUM_ARGS(), "z", &songs) == FAILURE)
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", &songs) == FAILURE)
return;
if(!xmms_remote_is_running(XG(session))) {
@@ -579,7 +579,7 @@
int argc = ZEND_NUM_ARGS();
long pos;
- if (zend_parse_parameters(argc, "l", &pos) == FAILURE)
+ if (zend_parse_parameters(argc TSRMLS_CC, "l", &pos) == FAILURE)
return;
if(!xmms_remote_is_running(XG(session))) {
@@ -666,7 +666,7 @@
long level;
long right_level;
- if (zend_parse_parameters(argc, "|ll", &level, &right_level) == FAILURE)
+ if (zend_parse_parameters(argc TSRMLS_CC, "|ll", &level, &right_level) ==
FAILURE)
return;
if(!xmms_remote_is_running(XG(session))) {
@@ -685,7 +685,7 @@
char *url = NULL;
int url_len;
- if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &url, &url_len) == FAILURE)
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &url, &url_len) ==
FAILURE)
return;
if(!xmms_remote_is_running(XG(session))) {
@@ -705,7 +705,7 @@
int argc = ZEND_NUM_ARGS();
int skin_file_len;
- if (zend_parse_parameters(argc, "|s", &skin_file, &skin_file_len) == FAILURE)
+ if (zend_parse_parameters(argc TSRMLS_CC, "|s", &skin_file, &skin_file_len) ==
FAILURE)
return;
if(!xmms_remote_is_running(XG(session))) {
@@ -724,7 +724,7 @@
int argc = ZEND_NUM_ARGS();
double time_pos;
- if (zend_parse_parameters(argc, "|d", &time_pos) == FAILURE)
+ if (zend_parse_parameters(argc TSRMLS_CC, "|d", &time_pos) == FAILURE)
return;
if(!xmms_remote_is_running(XG(session))) {
@@ -751,7 +751,7 @@
int argc = ZEND_NUM_ARGS();
zend_bool setting;
- if (zend_parse_parameters(argc, "|b", &setting) == FAILURE)
+ if (zend_parse_parameters(argc TSRMLS_CC, "|b", &setting) == FAILURE)
return;
if(!xmms_remote_is_running(XG(session))) {
@@ -770,7 +770,7 @@
int argc = ZEND_NUM_ARGS();
zend_bool setting;
- if (zend_parse_parameters(argc, "|b", &setting) == FAILURE)
+ if (zend_parse_parameters(argc TSRMLS_CC, "|b", &setting) == FAILURE)
return;
if(!xmms_remote_is_running(XG(session))) {