diff options
author | Karl Williamson <khw@cpan.org> | 2019-09-11 17:24:38 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2019-09-15 10:39:56 -0600 |
commit | 74804ad189340f2812955e3c4308a6a82c0cc0eb (patch) | |
tree | 01891d566d72b257679694fe7e8fce804bf08445 /cv.h | |
parent | 94b0cb42d04bb202dba31ef85db6c93b0c93ae6d (diff) | |
download | perl-74804ad189340f2812955e3c4308a6a82c0cc0eb.tar.gz |
Add embed.fnc entries for Cv inline fcns
and change the name of one. CvDEPTH shouldn't have a trailing 'p' to
indicate private memeber access. It may do so internally, but the name
shouldn't indicate that.
Diffstat (limited to 'cv.h')
-rw-r--r-- | cv.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -61,9 +61,9 @@ See L<perlguts/Autoloading with XSUBs>. (CvFILE(sv) = CopFILE(cop), CvDYNFILE_off(sv)) #endif #define CvFILEGV(sv) (gv_fetchfile(CvFILE(sv))) -#define CvDEPTH(sv) (*Perl_CvDEPTHp((const CV *)sv)) +#define CvDEPTH(sv) (*Perl_CvDEPTH((const CV *)sv)) /* For use when you only have a XPVCV*, not a real CV*. - Must be assert protected as in S_CvDEPTHp before use. */ + Must be assert protected as in Perl_CvDEPTH before use. */ #define CvDEPTHunsafe(sv) ((XPVCV*)MUTABLE_PTR(SvANY(sv)))->xcv_depth /* these CvPADLIST/CvRESERVED asserts can be reverted one day, once stabilized */ |