summaryrefslogtreecommitdiff
path: root/embed.fnc
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 /embed.fnc
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 'embed.fnc')
-rw-r--r--embed.fnc1
1 files changed, 1 insertions, 0 deletions
diff --git a/embed.fnc b/embed.fnc
index 55f65fbd37..9e32b5e197 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -282,6 +282,7 @@ Ap |GV* |gv_fetchpv |NN const char* name|I32 add|I32 sv_type
Ap |void |gv_fullname |NN SV* sv|NN const GV* gv
Apmb |void |gv_fullname3 |NN SV* sv|NN const GV* gv|NULLOK const char* prefix
Ap |void |gv_fullname4 |NN SV* sv|NN const GV* gv|NULLOK const char* prefix|bool keepmain
+pMox |GP * |newGP |NN GV *const gv
Ap |void |gv_init |NN GV* gv|NULLOK HV* stash|NN const char* name|STRLEN len|int multi
Ap |void |gv_name_set |NN GV* gv|NN const char *name|U32 len|U32 flags
Apd |HV* |gv_stashpv |NN const char* name|I32 create