diff options
author | Father Chrysostomos <sprout@cpan.org> | 2013-09-07 18:42:07 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2013-09-07 18:42:07 -0700 |
commit | 069420962bb857d2d053b8dd2bad601dd2a2d56e (patch) | |
tree | c2ba71b0fb8284fa6915ac73b4afc3d5a74533e1 /ext/XS-APItest/APItest.xs | |
parent | 851b527ad18524f953bb52604a2b669eb2e68648 (diff) | |
download | perl-069420962bb857d2d053b8dd2bad601dd2a2d56e.tar.gz |
Revert "Let av_push accept NULL values"
This reverts commit 7b6e8075e45ebc684565efbe3ce7b70435f20c79.
It turns out to be problematic, because it causes NULLs on the stack,
which XSUBs may trip on.
My main reason for it was actually to try to resolve some CPAN
failures, but it turns out that other fixes have removed the
need for that.
Diffstat (limited to 'ext/XS-APItest/APItest.xs')
-rw-r--r-- | ext/XS-APItest/APItest.xs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/ext/XS-APItest/APItest.xs b/ext/XS-APItest/APItest.xs index 85e2b015ce..16d26dea33 100644 --- a/ext/XS-APItest/APItest.xs +++ b/ext/XS-APItest/APItest.xs @@ -3467,11 +3467,6 @@ alias_av(AV *av, IV ix, SV *sv) CODE: av_store(av, ix, SvREFCNT_inc(sv)); -void -av_pushnull(AV *av) - CODE: - av_push(av, NULL); - MODULE = XS::APItest PACKAGE = XS::APItest::AUTOLOADtest int |