summaryrefslogtreecommitdiff
path: root/mathoms.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-08-08 12:05:40 +0100
committerNicholas Clark <nick@ccl4.org>2009-08-08 17:48:32 +0100
commitd5713896ecd1399c9c6c4076514a33eb2880d8c3 (patch)
treeaedd41f92ea6bc35ba5ce50ff0981dfbccbe45e4 /mathoms.c
parent1776cbe8523bf67a0626da7b721abaf9f0f8870a (diff)
downloadperl-d5713896ecd1399c9c6c4076514a33eb2880d8c3.tar.gz
Merge gv_AVadd(), gv_HVadd() and gv_SVadd() into gv_add_by_type().
The "short" names become macro wrappers, and the Perl_* versions become mathoms.
Diffstat (limited to 'mathoms.c')
-rw-r--r--mathoms.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/mathoms.c b/mathoms.c
index 7eae87ed4e..5ae5d2daf4 100644
--- a/mathoms.c
+++ b/mathoms.c
@@ -1473,6 +1473,32 @@ Perl_save_op(pTHX)
save_op();
}
+#ifdef PERL_DONT_CREATE_GVSV
+GV *
+Perl_gv_SVadd(pTHX_ GV *gv)
+{
+ PERL_ARGS_ASSERT_GV_SVADD;
+
+ return gv_SVadd(gv);
+}
+#endif
+
+GV *
+Perl_gv_AVadd(pTHX_ GV *gv)
+{
+ PERL_ARGS_ASSERT_GV_AVADD;
+
+ return gv_AVadd(gv);
+}
+
+GV *
+Perl_gv_HVadd(pTHX_ register GV *gv)
+{
+ PERL_ARGS_ASSERT_GV_HVADD;
+
+ return gv_HVadd(gv);
+}
+
#endif /* NO_MATHOMS */
/*