summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-05-02 11:15:26 +0000
committerNicholas Clark <nick@ccl4.org>2006-05-02 11:15:26 +0000
commit128165928a7fa68e9b3adbdf3695141c97adb115 (patch)
tree686772b21c9493c5f8310f18565ee0a60050fd49 /proto.h
parent9b38b30791d5c3d84f35037508a73dd07542022f (diff)
downloadperl-128165928a7fa68e9b3adbdf3695141c97adb115.tar.gz
De-duplicate the code that creates new GPs into Perl_newGP().
p4raw-id: //depot/perl@28058
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 bd5d285edf..ed3faeafd6 100644
--- a/proto.h
+++ b/proto.h
@@ -645,6 +645,9 @@ PERL_CALLCONV void Perl_gv_fullname4(pTHX_ SV* sv, const GV* gv, const char* pre
__attribute__nonnull__(pTHX_1)
__attribute__nonnull__(pTHX_2);
+PERL_CALLCONV GP * Perl_newGP(pTHX_ GV *const gv)
+ __attribute__nonnull__(pTHX_1);
+
PERL_CALLCONV void Perl_gv_init(pTHX_ GV* gv, HV* stash, const char* name, STRLEN len, int multi)
__attribute__nonnull__(pTHX_1)
__attribute__nonnull__(pTHX_3);