diff options
author | Karl Williamson <khw@cpan.org> | 2022-05-11 14:37:24 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2022-05-18 04:40:24 -0600 |
commit | 875e4924a8bb114b282211b7d23e5c868443fce1 (patch) | |
tree | cd94246546b50efb84c7b0c8eedfcd22b150c097 /gv.c | |
parent | a5dd70c5fffdebf697cfc5c2574bb1f539298635 (diff) | |
download | perl-875e4924a8bb114b282211b7d23e5c868443fce1.tar.gz |
perlapi: Document newGVgen(_flags)?
Diffstat (limited to 'gv.c')
-rw-r--r-- | gv.c | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -2791,6 +2791,21 @@ Perl_gv_check(pTHX_ HV *stash) HvAUX(stash)->xhv_aux_flags &= ~HvAUXf_SCAN_STASH; } +/* +=for apidoc newGVgen +=for apidoc_item newGVgen_flags + +Create a new, guaranteed to be unique, GV in the package given by the +NUL-terminated C language string C<pack>, and return a pointer to it. + +For C<newGVgen> or if C<flags> in C<newGVgen_flags> is 0, C<pack> is to be +considered to be encoded in Latin-1. The only other legal C<flags> value is +C<SVf_UTF8>, which indicates C<pack> is to be considered to be encoded in +UTF-8. + +=cut +*/ + GV * Perl_newGVgen_flags(pTHX_ const char *pack, U32 flags) { |