Compat fixes + 0.2 release
This commit is contained in:
parent
15954f4ad5
commit
3fd424c6e3
12 changed files with 24 additions and 12 deletions
|
|
@ -405,8 +405,8 @@ static const fupg_type *fupg_resolve_builtin(pTHX_ SV *name, SV **cb) {
|
|||
|
||||
static void fupg_set_type(pTHX_ fupg_conn *c, SV *name, SV *sendsv, SV *recvsv) {
|
||||
fupg_override o;
|
||||
o.send = fupg_resolve_builtin(sendsv, &o.sendcb);
|
||||
o.recv = fupg_resolve_builtin(recvsv, &o.recvcb);
|
||||
o.send = fupg_resolve_builtin(aTHX_ sendsv, &o.sendcb);
|
||||
o.recv = fupg_resolve_builtin(aTHX_ recvsv, &o.recvcb);
|
||||
if ((o.send && o.send->send == fupg_send_array) || (o.recv && o.recv->recv == fupg_recv_array))
|
||||
fu_confess("Cannot set a type to array, override the underlying element type instead");
|
||||
/* Can't currently happen since we have no records in the builtin type
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue