diff options
author | Nicholas Clark <nick@ccl4.org> | 2006-05-02 11:15:26 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2006-05-02 11:15:26 +0000 |
commit | 128165928a7fa68e9b3adbdf3695141c97adb115 (patch) | |
tree | 686772b21c9493c5f8310f18565ee0a60050fd49 /proto.h | |
parent | 9b38b30791d5c3d84f35037508a73dd07542022f (diff) | |
download | perl-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.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |