diff options
author | Karl Williamson <khw@cpan.org> | 2022-05-11 14:33:39 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2022-05-18 04:39:57 -0600 |
commit | a5dd70c5fffdebf697cfc5c2574bb1f539298635 (patch) | |
tree | 822934bbd2652bf8dfd63c3d55a7c079284e35ba /gv.c | |
parent | 78d7bba41f30fdb59d241a298618b0fb2a3c04ad (diff) | |
download | perl-a5dd70c5fffdebf697cfc5c2574bb1f539298635.tar.gz |
Document gv_e?fullname[34]
Diffstat (limited to 'gv.c')
-rw-r--r-- | gv.c | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -2676,6 +2676,25 @@ Perl_gv_fetchpvn_flags(pTHX_ const char *nambeg, STRLEN full_len, I32 flags, return gv; } +/* +=for apidoc gv_fullname3 +=for apidoc_item gv_fullname4 +=for apidoc_item gv_efullname3 +=for apidoc_item gv_efullname4 + +Place the full package name of C<gv> into C<sv>. The C<gv_e*> forms return +instead the effective package name (see L</HvENAME>). + +If C<prefix> is non-NULL, it is considered to be a C language NUL-terminated +string, and the stored name will be prefaced with it. + +The other difference between the functions is that the C<*4> forms have an +extra parameter, C<keepmain>. If C<true> an initial C<main::> in the name is +kept; if C<false> it is stripped. With the C<*3> forms, it is always kept. + +=cut +*/ + void Perl_gv_fullname4(pTHX_ SV *sv, const GV *gv, const char *prefix, bool keepmain) { |