diff options
author | Zeev Suraski <zeev@php.net> | 2003-08-03 17:44:39 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2003-08-03 17:44:39 +0000 |
commit | 538d58dd5f13a3ffda958ec002733dcbbc965352 (patch) | |
tree | 6d82510f96846c52de5ca250ddb337e1a21918c7 /ext/mysqli | |
parent | 4e796a70802e42ed03b12a18375b0f446a251e59 (diff) | |
download | php-git-538d58dd5f13a3ffda958ec002733dcbbc965352.tar.gz |
Use new infrastructure.
There are bound to be some messups, please report build/runtime bugs!
Diffstat (limited to 'ext/mysqli')
-rw-r--r-- | ext/mysqli/mysqli_fe.c | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/ext/mysqli/mysqli_fe.c b/ext/mysqli/mysqli_fe.c index 6c6f50ee3b..58f7cdaa55 100644 --- a/ext/mysqli/mysqli_fe.c +++ b/ext/mysqli/mysqli_fe.c @@ -30,9 +30,16 @@ #include "php_mysqli.h" -static char all_arg_force_by_ref_rest[] = {1, BYREF_FORCE_REST}; -static char second_arg_force_by_ref_rest[] = {2, BYREF_NONE, BYREF_FORCE_REST}; -static char third_arg_force_by_ref_rest[] = {3, BYREF_NONE, BYREF_NONE, BYREF_FORCE_REST}; +static + ZEND_BEGIN_ARG_INFO(second_arg_force_by_ref_rest, 1) + ZEND_ARG_PASS_INFO(0) + ZEND_END_ARG_INFO(); + +static + ZEND_BEGIN_ARG_INFO(third_arg_force_by_ref_rest, 1) + ZEND_ARG_PASS_INFO(0) + ZEND_ARG_PASS_INFO(0) + ZEND_END_ARG_INFO(); /* {{{ mysqli_functions[] * @@ -230,7 +237,7 @@ function_entry mysqli_result_methods[] = { function_entry mysqli_stmt_methods[] = { PHP_FALIAS(affected_rows,mysqli_stmt_affected_rows,NULL) PHP_FALIAS(bind_param,mysqli_bind_param,second_arg_force_by_ref_rest) - PHP_FALIAS(bind_result,mysqli_bind_result,all_arg_force_by_ref_rest) + PHP_FALIAS(bind_result,mysqli_bind_result, all_args_force_ref) PHP_FALIAS(execute,mysqli_execute,NULL) PHP_FALIAS(fetch,mysqli_fetch,NULL) PHP_FALIAS(param_count,mysqli_param_count,NULL) |