X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=php_psi.h;h=9ebf8e79925fd21d119c679d0a1baa14aab65397;hp=f9e89b798c1bd5b7357c781b2303cc7d9e1df29f;hb=1d0049e066faab3c40dcf238c92daab45aadddd7;hpb=7474b3e23338ea03bcd65551959e2582cc455f9f diff --git a/php_psi.h b/php_psi.h index f9e89b7..9ebf8e7 100644 --- a/php_psi.h +++ b/php_psi.h @@ -32,14 +32,16 @@ int psi_internal_type(impl_type *type); zend_internal_arg_info *psi_internal_arginfo(impl *impl); size_t psi_num_min_args(impl *impl); -void psi_to_int(zval *return_value, token_t t, impl_val *ret_val, decl_var *var); -void psi_to_double(zval *return_value, token_t t, impl_val *ret_val, decl_var *var); -void psi_to_string(zval *return_value, token_t t, impl_val *ret_val, decl_var *var); +void psi_to_bool(zval *return_value, token_t t, impl_val *ret_val, set_value *set, decl_var *var); +void psi_to_int(zval *return_value, token_t t, impl_val *ret_val, set_value *set, decl_var *var); +void psi_to_double(zval *return_value, token_t t, impl_val *ret_val, set_value *set, decl_var *var); +void psi_to_string(zval *return_value, token_t t, impl_val *ret_val, set_value *set, decl_var *var); +void psi_to_array(zval *return_value, token_t t, impl_val *ret_val, set_value *set, decl_var *var); ZEND_RESULT_CODE psi_parse_args(zend_execute_data *execute_data, impl *impl); void *psi_do_let(decl_arg *darg); -void psi_do_set(zval *return_value, set_func *func, decl_vars *vars); -void psi_do_return(impl *impl, impl_val *ret_val, zval *return_value); +void psi_do_set(zval *return_value, set_value *set); +void psi_do_return(zval *return_value, return_stmt *ret, impl_val *ret_val); void psi_do_free(free_stmt *fre); void psi_do_clean(impl *impl);