summaryrefslogtreecommitdiff
path: root/ext/filepro/filepro.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2000-06-05 19:47:54 +0000
committerAndi Gutmans <andi@php.net>2000-06-05 19:47:54 +0000
commit3701bc420774c1b689f8a43f0ed891c99fea3cd2 (patch)
tree9bbc5d33a0a90e290889dbca3d8fa9bb1dfe38a9 /ext/filepro/filepro.c
parent1cefd77f1c6ec98c23ba04998ca3a07c8c4e7b68 (diff)
downloadphp-git-3701bc420774c1b689f8a43f0ed891c99fea3cd2.tar.gz
- ARG_COUNT(ht) -> ZEND_NUM_ARGS() mega patch
Diffstat (limited to 'ext/filepro/filepro.c')
-rw-r--r--ext/filepro/filepro.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/ext/filepro/filepro.c b/ext/filepro/filepro.c
index bc4b7bef98..160ce2bfda 100644
--- a/ext/filepro/filepro.c
+++ b/ext/filepro/filepro.c
@@ -190,7 +190,7 @@ PHP_FUNCTION(filepro)
PLS_FETCH();
FP_TLS_VARS;
- if (ARG_COUNT(ht) != 1 || getParameters(ht, 1, &dir) == FAILURE) {
+ if (ZEND_NUM_ARGS() != 1 || getParameters(ht, 1, &dir) == FAILURE) {
WRONG_PARAM_COUNT;
}
@@ -288,7 +288,7 @@ PHP_FUNCTION(filepro_rowcount)
PLS_FETCH();
FP_TLS_VARS;
- if (ARG_COUNT(ht) != 0) {
+ if (ZEND_NUM_ARGS() != 0) {
WRONG_PARAM_COUNT;
}
@@ -344,7 +344,7 @@ PHP_FUNCTION(filepro_fieldname)
int i;
FP_TLS_VARS;
- if (ARG_COUNT(ht) != 1 || getParameters(ht, 1, &fno) == FAILURE) {
+ if (ZEND_NUM_ARGS() != 1 || getParameters(ht, 1, &fno) == FAILURE) {
WRONG_PARAM_COUNT;
}
@@ -385,7 +385,7 @@ PHP_FUNCTION(filepro_fieldtype)
int i;
FP_TLS_VARS;
- if (ARG_COUNT(ht) != 1 || getParameters(ht, 1, &fno) == FAILURE) {
+ if (ZEND_NUM_ARGS() != 1 || getParameters(ht, 1, &fno) == FAILURE) {
WRONG_PARAM_COUNT;
}
@@ -424,7 +424,7 @@ PHP_FUNCTION(filepro_fieldwidth)
int i;
FP_TLS_VARS;
- if (ARG_COUNT(ht) != 1 || getParameters(ht, 1, &fno) == FAILURE) {
+ if (ZEND_NUM_ARGS() != 1 || getParameters(ht, 1, &fno) == FAILURE) {
WRONG_PARAM_COUNT;
}
@@ -460,7 +460,7 @@ PHP_FUNCTION(filepro_fieldcount)
{
FP_TLS_VARS;
- if (ARG_COUNT(ht) != 0) {
+ if (ZEND_NUM_ARGS() != 0) {
WRONG_PARAM_COUNT;
}
@@ -495,7 +495,7 @@ PHP_FUNCTION(filepro_retrieve)
PLS_FETCH();
FP_TLS_VARS;
- if (ARG_COUNT(ht) != 2 || getParameters(ht, 2, &rno, &fno) == FAILURE) {
+ if (ZEND_NUM_ARGS() != 2 || getParameters(ht, 2, &rno, &fno) == FAILURE) {
WRONG_PARAM_COUNT;
}