This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
embed.fnc: Mark av_arylen_p, av_iter_p as Core only
authorKarl Williamson <khw@cpan.org>
Wed, 22 Jul 2020 12:07:30 +0000 (06:07 -0600)
committerKarl Williamson <khw@cpan.org>
Sun, 20 Dec 2020 16:28:07 +0000 (09:28 -0700)
These appear to be internal functions, and there is no cpan usage

The macro GIMME_V is what one is supposed to use for this functionality.

embed.fnc

index 0476d1f..22fe081 100644 (file)
--- a/embed.fnc
+++ b/embed.fnc
@@ -647,8 +647,8 @@ AmdR        |SSize_t|av_tindex      |NN AV *av
 Apd    |void   |av_undef       |NN AV *av
 Apdoex |SV**   |av_create_and_unshift_one|NN AV **const avp|NN SV *const val
 Apd    |void   |av_unshift     |NN AV *av|SSize_t num
-Apo    |SV**   |av_arylen_p    |NN AV *av
-Apo    |IV*    |av_iter_p      |NN AV *av
+Cpo    |SV**   |av_arylen_p    |NN AV *av
+Cpo    |IV*    |av_iter_p      |NN AV *av
 #if defined(PERL_IN_AV_C)
 S      |MAGIC* |get_aux_mg     |NN AV *av
 #endif