summaryrefslogtreecommitdiff
path: root/ext/readline
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/readline
parentf1fcb022be33716d345197de1fde63ad2bcdafca (diff)
downloadphp-git-a1ad2872eebc17448b115a1817e95b63e3ad17e9.tar.gz
- The tree compiles again
Diffstat (limited to 'ext/readline')
-rw-r--r--ext/readline/readline.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/readline/readline.c b/ext/readline/readline.c
index 9614a2c843..980d8011df 100644
--- a/ext/readline/readline.c
+++ b/ext/readline/readline.c
@@ -92,7 +92,7 @@ PHP_FUNCTION(readline)
pval **arg;
int ac = ARG_COUNT(ht);
- if (ac < 0 || ac > 1 || getParametersEx(ac, &arg) == FAILURE) {
+ if (ac < 0 || ac > 1 || zend_get_parameters_ex(ac, &arg) == FAILURE) {
WRONG_PARAM_COUNT;
}
convert_to_string_ex(arg);
@@ -121,7 +121,7 @@ PHP_FUNCTION(readline_info)
char *oldstr;
int ac = ARG_COUNT(ht);
- if (ac < 0 || ac > 2 || getParametersEx(ac, &what, &value) == FAILURE) {
+ if (ac < 0 || ac > 2 || zend_get_parameters_ex(ac, &what, &value) == FAILURE) {
WRONG_PARAM_COUNT;
}
@@ -206,7 +206,7 @@ PHP_FUNCTION(readline_add_history)
pval **arg;
int ac = ARG_COUNT(ht);
- if (ac < 1 || ac > 1 || getParametersEx(ac, &arg) == FAILURE) {
+ if (ac < 1 || ac > 1 || zend_get_parameters_ex(ac, &arg) == FAILURE) {
WRONG_PARAM_COUNT;
}
convert_to_string_ex(arg);
@@ -265,7 +265,7 @@ PHP_FUNCTION(readline_read_history)
char *filename = NULL;
int ac = ARG_COUNT(ht);
- if (ac < 0 || ac > 1 || getParametersEx(ac, &arg) == FAILURE) {
+ if (ac < 0 || ac > 1 || zend_get_parameters_ex(ac, &arg) == FAILURE) {
WRONG_PARAM_COUNT;
}
@@ -292,7 +292,7 @@ PHP_FUNCTION(readline_write_history)
char *filename = NULL;
int ac = ARG_COUNT(ht);
- if (ac < 0 || ac > 1 || getParametersEx(ac, &arg) == FAILURE) {
+ if (ac < 0 || ac > 1 || zend_get_parameters_ex(ac, &arg) == FAILURE) {
WRONG_PARAM_COUNT;
}
@@ -391,7 +391,7 @@ PHP_FUNCTION(readline_completion_function)
pval **arg;
int ac = ARG_COUNT(ht);
- if (ac < 0 || ac > 1 || getParametersEx(ac, &arg) == FAILURE) {
+ if (ac < 0 || ac > 1 || zend_get_parameters_ex(ac, &arg) == FAILURE) {
WRONG_PARAM_COUNT;
}