summaryrefslogtreecommitdiff
path: root/cv.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2019-09-11 17:24:38 -0600
committerKarl Williamson <khw@cpan.org>2019-09-15 10:39:56 -0600
commit74804ad189340f2812955e3c4308a6a82c0cc0eb (patch)
tree01891d566d72b257679694fe7e8fce804bf08445 /cv.h
parent94b0cb42d04bb202dba31ef85db6c93b0c93ae6d (diff)
downloadperl-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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cv.h b/cv.h
index df424324a2..9a169e865c 100644
--- a/cv.h
+++ b/cv.h
@@ -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 */