diff options
author | Nicholas Clark <nick@ccl4.org> | 2009-08-08 12:05:40 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2009-08-08 17:48:32 +0100 |
commit | d5713896ecd1399c9c6c4076514a33eb2880d8c3 (patch) | |
tree | aedd41f92ea6bc35ba5ce50ff0981dfbccbe45e4 /mathoms.c | |
parent | 1776cbe8523bf67a0626da7b721abaf9f0f8870a (diff) | |
download | perl-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.c | 26 |
1 files changed, 26 insertions, 0 deletions
@@ -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 */ /* |