This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
embed.fnc: Mark cxinc as Core only
authorKarl Williamson <khw@cpan.org>
Wed, 22 Jul 2020 11:48:53 +0000 (05:48 -0600)
committerKarl Williamson <khw@cpan.org>
Sun, 20 Dec 2020 16:28:07 +0000 (09:28 -0700)
The macro CXINC is what one is supposed to use for this functionality.
(though it is currently undocumented)

embed.fnc

index 967def7..819fe92 100644 (file)
--- a/embed.fnc
+++ b/embed.fnc
@@ -745,7 +745,7 @@ pPR |const char*    |get_no_modify
 pPR    |U32*   |get_opargs
 ApPR   |PPADDR_t*|get_ppaddr
 : Used by CXINC, which appears to be in widespread use
-ApR    |I32    |cxinc
+CpR    |I32    |cxinc
 Afp    |void   |deb            |NN const char* pat|...
 Ap     |void   |vdeb           |NN const char* pat|NULLOK va_list* args
 Ap     |void   |debprofdump