X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=src%2Fmarshal.h;h=47402e46cc06036b0b3377e464e1c7af19ac0525;hp=a6028dce5ca29824d78beadf27c0e3b8ee62f527;hb=e8a409b21cb50f5931ab02ce6ab4f4406be94394;hpb=70f215a31fab4be1fe3e80125eb401e11eb02b9f diff --git a/src/marshal.h b/src/marshal.h index a6028dc..47402e4 100644 --- a/src/marshal.h +++ b/src/marshal.h @@ -9,6 +9,7 @@ void psi_to_string(zval *return_value, set_value *set, impl_val *ret_val); void psi_to_recursive(zval *return_value, set_value *set, impl_val *r_val); void psi_to_array(zval *return_value, set_value *set, impl_val *ret_val); void psi_to_object(zval *return_value, set_value *set, impl_val *ret_val); +void psi_to_zval(zval *return_value, set_value *set, impl_val *ret_val); void *psi_array_to_struct(decl_struct *s, HashTable *arr); void psi_from_zval(impl_val *mem, decl_arg *spec, zval *zv, void **tmp); @@ -21,5 +22,6 @@ impl_val *psi_let_pathval(impl_val *tmp, decl_type *type, impl_arg *iarg, void * impl_val *psi_let_strlen(impl_val *tmp, decl_type *type, impl_arg *iarg, void **to_free); impl_val *psi_let_arrval(impl_val *tmp, decl_type *type, impl_arg *iarg, void **to_free); impl_val *psi_let_objval(impl_val *tmp, decl_type *type, impl_arg *iarg, void **to_free); +impl_val *psi_let_zval(impl_val *tmp, decl_type *type, impl_arg *iarg, void **to_free); #endif