projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
made the real decl_type a union
[m6w6/ext-psi]
/
src
/
marshal.c
diff --git
a/src/marshal.c
b/src/marshal.c
index 2ec332953e250ec3a24c989e578d1566d8bda569..ce5cc2441702c75a40bf6438bbbe85f90f0751d2 100644
(file)
--- a/
src/marshal.c
+++ b/
src/marshal.c
@@
-334,7
+334,7
@@
void psi_from_zval_ex(impl_val **ptr, decl_arg *spec, token_t cast, zval *zv, vo
val->ival = zval_get_long(zv);
break;
case PSI_T_STRUCT:
val->ival = zval_get_long(zv);
break;
case PSI_T_STRUCT:
- *tmp = *ptr = psi_array_to_struct(real->strct, HASH_OF(zv));
+ *tmp = *ptr = psi_array_to_struct(real->
real.
strct, HASH_OF(zv));
break;
}
}
break;
}
}
@@
-501,7
+501,7
@@
impl_val *psi_let_arrval(impl_val *tmp, decl_type *type, impl_arg *iarg, void **
switch (real->type) {
case PSI_T_STRUCT:
switch (real->type) {
case PSI_T_STRUCT:
- *to_free = tmp = psi_array_to_struct(real->strct, arr);
+ *to_free = tmp = psi_array_to_struct(real->
real.
strct, arr);
break;
EMPTY_SWITCH_DEFAULT_CASE();
}
break;
EMPTY_SWITCH_DEFAULT_CASE();
}