From 875e4924a8bb114b282211b7d23e5c868443fce1 Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Wed, 11 May 2022 14:37:24 -0600 Subject: perlapi: Document newGVgen(_flags)? --- gv.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'gv.c') diff --git a/gv.c b/gv.c index cf904c0c08..97e89ed787 100644 --- a/gv.c +++ b/gv.c @@ -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, and return a pointer to it. + +For C or if C in C is 0, C is to be +considered to be encoded in Latin-1. The only other legal C value is +C, which indicates C is to be considered to be encoded in +UTF-8. + +=cut +*/ + GV * Perl_newGVgen_flags(pTHX_ const char *pack, U32 flags) { -- cgit v1.2.1