summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-03-05 11:53:55 +0000
committerNicholas Clark <nick@ccl4.org>2006-03-05 11:53:55 +0000
commitf5c1e8072077f841044d944ef64ecf3a45cff725 (patch)
tree25d51fe0be0774c7e2db4cdebac16e094bb09487 /proto.h
parent49a7a762557426d9605bb476108c1375454ae233 (diff)
downloadperl-f5c1e8072077f841044d944ef64ecf3a45cff725.tar.gz
Provide Perl_gv_name_set to replace LVALUE use of GvNAME and GvNAMESET.
p4raw-id: //depot/perl@27377
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/proto.h b/proto.h
index c465601323..94718f2a3c 100644
--- a/proto.h
+++ b/proto.h
@@ -644,6 +644,9 @@ PERL_CALLCONV void Perl_gv_init(pTHX_ GV* gv, HV* stash, const char* name, STRLE
__attribute__nonnull__(pTHX_1)
__attribute__nonnull__(pTHX_3);
+PERL_CALLCONV void Perl_gv_name_set(pTHX_ GV* gv, const char *name, U32 len, U32 flags)
+ __attribute__nonnull__(pTHX_1);
+
PERL_CALLCONV HV* Perl_gv_stashpv(pTHX_ const char* name, I32 create)
__attribute__nonnull__(pTHX_1);