X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=src%2Fmarshal.h;h=a011c1bb115d794a393dd92fe74242b34c568515;hb=e5103bb1ce17ef734e1329da9a13d9a2cbc40ad9;hp=a6028dce5ca29824d78beadf27c0e3b8ee62f527;hpb=b9193a8d80bf7ea8d768b9521bcd298a03974c9d;p=m6w6%2Fext-psi diff --git a/src/marshal.h b/src/marshal.h index a6028dc..a011c1b 100644 --- a/src/marshal.h +++ b/src/marshal.h @@ -9,10 +9,12 @@ 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); +impl_val *psi_let_void(impl_val *tmp, decl_type *type, impl_arg *iarg, void **to_free); impl_val *psi_let_boolval(impl_val *tmp, decl_type *type, impl_arg *iarg, void **to_free); impl_val *psi_let_intval(impl_val *tmp, decl_type *type, impl_arg *iarg, void **to_free); impl_val *psi_let_floatval(impl_val *tmp, decl_type *type, impl_arg *iarg, void **to_free); @@ -21,5 +23,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