From 1ad5180f2819b286c7194044c27babbebddb8035 Mon Sep 17 00:00:00 2001 From: Andrei Zmievski Date: Mon, 20 Dec 1999 17:34:55 +0000 Subject: getParameters -> zend_get_parameters --- ext/db/db.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'ext/db/db.c') diff --git a/ext/db/db.c b/ext/db/db.c index ce8b35e449..fef238d5a9 100644 --- a/ext/db/db.c +++ b/ext/db/db.c @@ -256,7 +256,7 @@ PHP_FUNCTION(dbmopen) { int ret; DBM_TLS_VARS; - if (ARG_COUNT(ht)!=2 || getParameters(ht,2,&filename,&mode)==FAILURE) { + if (ARG_COUNT(ht)!=2 || zend_get_parameters(ht,2,&filename,&mode)==FAILURE) { WRONG_PARAM_COUNT; } @@ -412,7 +412,7 @@ dbm_info *php_dbm_open(char *filename, char *mode) { PHP_FUNCTION(dbmclose) { pval *id; - if (ARG_COUNT(ht) != 1 || getParameters(ht,1,&id)==FAILURE) { + if (ARG_COUNT(ht) != 1 || zend_get_parameters(ht,1,&id)==FAILURE) { WRONG_PARAM_COUNT; } convert_to_long(id); @@ -463,7 +463,7 @@ PHP_FUNCTION(dbminsert) dbm_info *info; int ret; - if (ARG_COUNT(ht)!=3||getParameters(ht,3,&id,&key,&value) == FAILURE) { + if (ARG_COUNT(ht)!=3||zend_get_parameters(ht,3,&id,&key,&value) == FAILURE) { WRONG_PARAM_COUNT; } convert_to_string(key); @@ -516,7 +516,7 @@ PHP_FUNCTION(dbmreplace) dbm_info *info; int ret; - if (ARG_COUNT(ht)!=3||getParameters(ht,3,&id,&key,&value) == FAILURE) { + if (ARG_COUNT(ht)!=3||zend_get_parameters(ht,3,&id,&key,&value) == FAILURE) { WRONG_PARAM_COUNT; } convert_to_string(key); @@ -571,7 +571,7 @@ PHP_FUNCTION(dbmfetch) pval *id, *key; dbm_info *info; - if (ARG_COUNT(ht)!=2||getParameters(ht,2,&id,&key)==FAILURE) { + if (ARG_COUNT(ht)!=2||zend_get_parameters(ht,2,&id,&key)==FAILURE) { WRONG_PARAM_COUNT; } convert_to_string(key); @@ -643,7 +643,7 @@ PHP_FUNCTION(dbmexists) dbm_info *info; int ret; - if (ARG_COUNT(ht)!=2||getParameters(ht,2,&id,&key)==FAILURE) { + if (ARG_COUNT(ht)!=2||zend_get_parameters(ht,2,&id,&key)==FAILURE) { WRONG_PARAM_COUNT; } convert_to_string(key); @@ -686,7 +686,7 @@ PHP_FUNCTION(dbmdelete) dbm_info *info; int ret; - if (ARG_COUNT(ht)!=2||getParameters(ht,2,&id,&key)==FAILURE) { + if (ARG_COUNT(ht)!=2||zend_get_parameters(ht,2,&id,&key)==FAILURE) { WRONG_PARAM_COUNT; } convert_to_string(key); @@ -728,7 +728,7 @@ PHP_FUNCTION(dbmfirstkey) dbm_info *info; char *ret; - if (ARG_COUNT(ht)!=1||getParameters(ht,1,&id)==FAILURE) { + if (ARG_COUNT(ht)!=1||zend_get_parameters(ht,1,&id)==FAILURE) { WRONG_PARAM_COUNT; } @@ -785,7 +785,7 @@ PHP_FUNCTION(dbmnextkey) dbm_info *info; char *ret; - if (ARG_COUNT(ht)!=2||getParameters(ht,2,&id,&key)==FAILURE) { + if (ARG_COUNT(ht)!=2||zend_get_parameters(ht,2,&id,&key)==FAILURE) { WRONG_PARAM_COUNT; } convert_to_string(key); -- cgit v1.2.1