diff options
author | Karl Williamson <khw@cpan.org> | 2022-05-19 13:08:59 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2022-05-28 13:29:25 -0600 |
commit | 629fbf9be56e27ae0920c0ac7a67d7dabcf8c030 (patch) | |
tree | 3ec0241fe5be01a9684b5f4097b285bbee4339fc /gv.c | |
parent | f24623d674e0b493bbafe0d87eb3e5d047815a63 (diff) | |
download | perl-629fbf9be56e27ae0920c0ac7a67d7dabcf8c030.tar.gz |
perlapi: Document gv_name_set
Diffstat (limited to 'gv.c')
-rw-r--r-- | gv.c | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -4022,6 +4022,18 @@ Perl_amagic_call(pTHX_ SV *left, SV *right, int method, int flags) } } +/* +=for apidoc gv_name_set + +Set the name for GV C<gv> to C<name> which is C<len> bytes long. Thus it may +contain embedded NUL characters. + +If C<flags> contains C<SVf_UTF8>, the name is treated as being encoded in +UTF-8; otherwise not. + +=cut +*/ + void Perl_gv_name_set(pTHX_ GV *gv, const char *name, U32 len, U32 flags) { |