diff options
author | Nicholas Clark <nick@ccl4.org> | 2005-10-30 16:24:37 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-10-30 16:24:37 +0000 |
commit | bc5cdc23883e8a43c7fbf40a0069d823caa8adb3 (patch) | |
tree | 1dd3cfd55e81f52d08d0f2d0474d78fe15f06063 /mathoms.c | |
parent | 711aba4c46216686b303e46f6e8b7dfac7b2420f (diff) | |
download | perl-bc5cdc23883e8a43c7fbf40a0069d823caa8adb3.tar.gz |
Replace hv_magic() with a macro to call sv_magic() directly. Move the
old body to mathoms.c
p4raw-id: //depot/perl@25897
Diffstat (limited to 'mathoms.c')
-rw-r--r-- | mathoms.c | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -601,6 +601,22 @@ Perl_hv_iternext(pTHX_ HV *hv) return hv_iternext_flags(hv, 0); } +void +Perl_hv_magic(pTHX_ HV *hv, GV *gv, int how) +{ + sv_magic((SV*)hv, (SV*)gv, how, Nullch, 0); +} + +#if 0 /* use the macro from hv.h instead */ + +char* +Perl_sharepvn(pTHX_ const char *sv, I32 len, U32 hash) +{ + return HEK_KEY(share_hek(sv, len, hash)); +} + +#endif + AV * Perl_av_fake(pTHX_ register I32 size, register SV **strp) { |