summaryrefslogtreecommitdiff
path: root/ext/dba/dba.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-12-18 22:40:35 +0000
committerZeev Suraski <zeev@php.net>1999-12-18 22:40:35 +0000
commita1ad2872eebc17448b115a1817e95b63e3ad17e9 (patch)
tree6088dc4e590fdc5f85baa8bfe6534aece3fba960 /ext/dba/dba.c
parentf1fcb022be33716d345197de1fde63ad2bcdafca (diff)
downloadphp-git-a1ad2872eebc17448b115a1817e95b63e3ad17e9.tar.gz
- The tree compiles again
Diffstat (limited to 'ext/dba/dba.c')
-rw-r--r--ext/dba/dba.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/dba/dba.c b/ext/dba/dba.c
index d448441e47..ef1ef2c509 100644
--- a/ext/dba/dba.c
+++ b/ext/dba/dba.c
@@ -95,13 +95,13 @@ typedef struct dba_handler {
/* these are used to get the standard arguments */
#define DBA_GET1 \
- if(ac != 1 || getParametersEx(ac, &id) != SUCCESS) { \
+ if(ac != 1 || zend_get_parameters_ex(ac, &id) != SUCCESS) { \
WRONG_PARAM_COUNT; \
}
#define DBA_GET2 \
pval **key; \
- if(ac != 2 || getParametersEx(ac, &key, &id) != SUCCESS) { \
+ if(ac != 2 || zend_get_parameters_ex(ac, &key, &id) != SUCCESS) { \
WRONG_PARAM_COUNT; \
} \
convert_to_string_ex(key)
@@ -211,7 +211,7 @@ static void php_dba_update(INTERNAL_FUNCTION_PARAMETERS, int mode)
DBA_ID_PARS;
pval **val, **key;
- if(ac != 3 || getParametersEx(ac, &key, &val, &id) != SUCCESS) {
+ if(ac != 3 || zend_get_parameters_ex(ac, &key, &val, &id) != SUCCESS) {
WRONG_PARAM_COUNT;
}
convert_to_string_ex(key);
@@ -245,7 +245,7 @@ static void php_dba_open(INTERNAL_FUNCTION_PARAMETERS, int persistent)
/* we pass additional args to the respective handler */
args = emalloc(ac * sizeof(pval *));
- if(getParametersArrayEx(ac, args) != SUCCESS) {
+ if(zend_get_parameters_array_ex(ac, args) != SUCCESS) {
FREENOW;
WRONG_PARAM_COUNT;
}