This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Make undef &foo remove call checkers
authorFather Chrysostomos <sprout@cpan.org>
Sun, 29 Jul 2012 20:14:40 +0000 (13:14 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 29 Jul 2012 20:14:40 +0000 (13:14 -0700)
commit2f14e398cab171c93c6228512985ee84aa35be83
tree9f2839f0fa19e8be5a2130142163f7a632d070f5
parent50dc2bd3d35d30eddfffb841752c40e125e49edc
Make undef &foo remove call checkers

The fact that the call checker is stored in magic is an implementation
detail.  cv_undef does not free magic, so the call checker lives on.

If we were to move the parameter prototype into magic internally, we
would not want undef to stop clearing it.  To me, the current situa-
tion with call checkers is similar.
ext/XS-APItest/t/call_checker.t
pad.c