@@ -335,6 +335,7 @@ Perl_cvstash_set(pTHX_ CV *cv, HV *stash)
335335=for apidoc_item gv_init_pv
336336=for apidoc_item gv_init_pvn
337337=for apidoc_item gv_init_sv
338+ =for apidoc_flag GV_ADDMULTI
338339
339340These each convert a scalar into a typeglob. This is an incoercible typeglob;
340341assigning a reference to it will assign to one of its slots, instead of
@@ -378,8 +379,6 @@ strings, as it has no flags parameter. Setting the C<multi> parameter to
378379non-zero has the same effect as setting the C<GV_ADDMULTI> flag in the other
379380forms.
380381
381- =for apidoc Amnh||GV_ADDMULTI
382-
383382=cut
384383*/
385384
@@ -736,6 +735,8 @@ S_maybe_add_coresub(pTHX_ HV * const stash, GV *gv,
736735=for apidoc_item gv_fetchmeth_pvn_autoload
737736=for apidoc_item gv_fetchmeth_sv
738737=for apidoc_item gv_fetchmeth_sv_autoload
738+ =for apidoc_flag GV_SUPER
739+ =for apidoc_flag GV_NOUNIVERSAL
739740
740741These each look for a glob with name C<name>, containing a defined subroutine,
741742returning the GV of that glob if found, or C<NULL> if not.
@@ -822,9 +823,6 @@ as being in UTF-8, the extracted PV will also be. Including C<SVf_UTF8> in
822823C<flags> will force the name to be considered to be UTF-8 even if the SV is
823824not so marked.
824825
825- =for apidoc Amnh||GV_SUPER
826- =for apidoc Amnh||GV_NOUNIVERSAL
827-
828826=cut
829827*/
830828
@@ -1307,6 +1305,9 @@ Perl_gv_fetchmethod_pvn_flags(pTHX_ HV *stash, const char *name, const STRLEN le
13071305=for apidoc_item gv_autoload_pvn
13081306=for apidoc_item gv_autoload_sv
13091307=for apidoc_item gv_autoload4
1308+ =for apidoc_flag GV_AUTOLOAD_ISMETHOD
1309+ =for apidoc_flag SVf_UTF8
1310+ =for apidoc_flag GV_SUPER
13101311
13111312These each search for an C<AUTOLOAD> method, returning NULL if not found, or
13121313else returning a pointer to its GV, while setting the package
@@ -1344,9 +1345,6 @@ to indicate, if set, to skip searching for the name in C<stash>.
13441345
13451346=cut
13461347
1347- =for apidoc Amnh||GV_AUTOLOAD_ISMETHOD
1348- =for apidoc Amnh||SVf_UTF8
1349- =for apidoc Amnh||GV_SUPER
13501348*/
13511349
13521350GV *
@@ -1582,6 +1580,12 @@ S_require_tie_mod(pTHX_ GV *gv, const char varname, const char * name,
15821580=for apidoc_item gv_stashpvn
15831581=for apidoc_item gv_stashpvs
15841582=for apidoc_item gv_stashsv
1583+ =for apidoc_flag GV_ADD
1584+ =for apidoc_flag GV_NOADD_NOINIT
1585+ =for apidoc_flag GV_NOINIT
1586+ =for apidoc_flag GV_NOEXPAND
1587+ =for apidoc_flag GV_ADDMG
1588+ =for apidoc_flag SVf_UTF8
15851589
15861590Note C<gv_stashsv> is strongly preferred for performance reasons.
15871591
@@ -1613,13 +1617,6 @@ Flags may be one of:
16131617
16141618The most important of which are probably C<GV_ADD> and C<SVf_UTF8>.
16151619
1616- =for apidoc Amnh||GV_ADD
1617- =for apidoc Amnh||GV_NOADD_NOINIT
1618- =for apidoc Amnh||GV_NOINIT
1619- =for apidoc Amnh||GV_NOEXPAND
1620- =for apidoc Amnh||GV_ADDMG
1621- =for apidoc Amnh||SVf_UTF8
1622-
16231620=cut
16241621*/
16251622
@@ -1678,7 +1675,8 @@ S_gv_stashpvn_internal(pTHX_ const char *name, U32 namelen, I32 flags)
16781675}
16791676
16801677/*
1681- =for apidoc gv_stashsvpvn_cached
1678+ =for apidoc gv_stashsvpvn_cached
1679+ =for apidoc_flag E|GV_CACHE_ONLY
16821680
16831681Returns a pointer to the stash for a specified package, possibly
16841682cached. Implements both L<perlapi/C<gv_stashpvn>> and
@@ -1692,8 +1690,6 @@ cache; see L<perlapi/C<gv_stashpvn>> for details on the other C<flags>.
16921690Note it is strongly preferred for C<namesv> to be non-null, for performance
16931691reasons.
16941692
1695- =for apidoc Emnh||GV_CACHE_ONLY
1696-
16971693=cut
16981694*/
16991695
@@ -2505,6 +2501,15 @@ S_maybe_multimagic_gv(pTHX_ GV *gv, const char *name, const svtype sv_type)
25052501=for apidoc_item gv_fetchpvs
25062502=for apidoc_item gv_fetchsv
25072503=for apidoc_item gv_fetchsv_nomg
2504+ =for apidoc_flag GV_ADD
2505+ =for apidoc_flag GV_ADDMG
2506+ =for apidoc_flag GV_ADDMULTI
2507+ =for apidoc_flag GV_ADDWARN
2508+ =for apidoc_flag GV_NOINIT
2509+ =for apidoc_flag GV_NOADD_NOINIT
2510+ =for apidoc_flag GV_NOTQUAL
2511+ =for apidoc_flag GV_NO_SVGMAGIC
2512+ =for apidoc_flag SVf_UTF8
25082513
25092514These all return the GV of type C<sv_type> whose name is given by the inputs,
25102515or NULL if no GV of that name and type could be found. See L<perlguts/Stashes
@@ -2553,16 +2558,6 @@ the input C<name> SV. The only difference between these two forms is that
25532558with C<gv_fetchsv_nomg>. Including C<GV_NO_SVGMAGIC> in the C<flags> parameter
25542559to C<gv_fetchsv> makes it behave identically to C<gv_fetchsv_nomg>.
25552560
2556- =for apidoc Amnh||GV_ADD
2557- =for apidoc Amnh||GV_ADDMG
2558- =for apidoc Amnh||GV_ADDMULTI
2559- =for apidoc Amnh||GV_ADDWARN
2560- =for apidoc Amnh||GV_NOINIT
2561- =for apidoc Amnh||GV_NOADD_NOINIT
2562- =for apidoc Amnh||GV_NOTQUAL
2563- =for apidoc Amnh||GV_NO_SVGMAGIC
2564- =for apidoc Amnh||SVf_UTF8
2565-
25662561=cut
25672562*/
25682563
0 commit comments