Commit 5b45802
committed
XS::APItest: fix type of destruct_test
MORTALSVFUNC_X needs a function of type 'void (pTHX_ SV *)' exactly.
Should fix this ASan error:
scope.c:1979:8: runtime error: call to function destruct_test through pointer to incorrect function type 'void (*)(struct interpreter *, struct STRUCT_SV *)'1 parent e3bf41f commit 5b45802
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1597 | 1597 | | |
1598 | 1598 | | |
1599 | 1599 | | |
1600 | | - | |
1601 | | - | |
| 1600 | + | |
| 1601 | + | |
1602 | 1602 | | |
1603 | 1603 | | |
1604 | 1604 | | |
| |||
0 commit comments