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 /gv.h | |
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 'gv.h')
-rw-r--r-- | gv.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -207,6 +207,10 @@ Return the SV from the GV. #define gv_efullname3(sv,gv,prefix) gv_efullname4(sv,gv,prefix,TRUE) #define gv_fetchmethod(stash, name) gv_fetchmethod_autoload(stash, name, TRUE) +#define gv_AVadd(gv) gv_add_by_type((gv), SVt_PVAV) +#define gv_HVadd(gv) gv_add_by_type((gv), SVt_PVHV) +#define gv_SVadd(gv) gv_add_by_type((gv), SVt_NULL) + /* * Local variables: * c-indentation-style: bsd |