summaryrefslogtreecommitdiff
path: root/ext/mhash
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/mhash
parent1cefd77f1c6ec98c23ba04998ca3a07c8c4e7b68 (diff)
downloadphp-git-3701bc420774c1b689f8a43f0ed891c99fea3cd2.tar.gz
- ARG_COUNT(ht) -> ZEND_NUM_ARGS() mega patch
Diffstat (limited to 'ext/mhash')
-rw-r--r--ext/mhash/mhash.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/mhash/mhash.c b/ext/mhash/mhash.c
index fa0a65b22d..02f2cb0d7a 100644
--- a/ext/mhash/mhash.c
+++ b/ext/mhash/mhash.c
@@ -81,7 +81,7 @@ PHP_FUNCTION(mhash_get_block_size)
{
pval **hash;
- if(ARG_COUNT(ht) != 1 || zend_get_parameters_ex(1, &hash) == FAILURE) {
+ if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_ex(1, &hash) == FAILURE) {
WRONG_PARAM_COUNT;
}
@@ -98,7 +98,7 @@ PHP_FUNCTION(mhash_get_hash_name)
pval **hash;
char *name;
- if(ARG_COUNT(ht) != 1 || zend_get_parameters_ex(1, &hash) == FAILURE) {
+ if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_ex(1, &hash) == FAILURE) {
WRONG_PARAM_COUNT;
}
@@ -123,7 +123,7 @@ PHP_FUNCTION(mhash)
int bsize;
unsigned char *hash_data;
- if(ARG_COUNT(ht) != 2 || zend_get_parameters_ex(2, &hash, &data) == FAILURE) {
+ if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_ex(2, &hash, &data) == FAILURE) {
WRONG_PARAM_COUNT;
}