summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-06-29 15:58:14 +0000
committerNicholas Clark <nick@ccl4.org>2005-06-29 15:58:14 +0000
commitc69033f2a629160559f680da8e4e5a7e3c4c3a0c (patch)
treed19b6ca86b0f5cbbbb1e078ab96eac111df03dfd /embed.fnc
parent9dc0b5dcb80b5128172acb8c4bd670aa72142821 (diff)
downloadperl-c69033f2a629160559f680da8e4e5a7e3c4c3a0c.tar.gz
First stab at not automatically creating an unused SV for GvSV
Enable it with -DPERL_DONT_CREATE_GVSV. Currently if enabled 22 test scripts have failures, so still some way to go. p4raw-id: //depot/perl@25009
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc4
1 files changed, 4 insertions, 0 deletions
diff --git a/embed.fnc b/embed.fnc
index 8962aa938c..af4f2cce59 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -1521,6 +1521,10 @@ ApR |bool |stashpv_hvname_match|NN const COP *cop|NN const HV *hv
p |void |dump_sv_child |SV *sv
#endif
+#ifdef PERL_DONT_CREATE_GVSV
+Ap |GV* |gv_SVadd |NN GV* gv
+#endif
+
END_EXTERN_C
/*
* ex: set ts=8 sts=4 sw=4 noet: