summaryrefslogtreecommitdiff
path: root/hv.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-10-30 16:24:37 +0000
committerNicholas Clark <nick@ccl4.org>2005-10-30 16:24:37 +0000
commitbc5cdc23883e8a43c7fbf40a0069d823caa8adb3 (patch)
tree1dd3cfd55e81f52d08d0f2d0474d78fe15f06063 /hv.h
parent711aba4c46216686b303e46f6e8b7dfac7b2420f (diff)
downloadperl-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 'hv.h')
-rw-r--r--hv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hv.h b/hv.h
index 5243adc7c1..7552267c5a 100644
--- a/hv.h
+++ b/hv.h
@@ -361,6 +361,7 @@ C<SV*>.
#define HV_ITERNEXT_WANTPLACEHOLDERS 0x01 /* Don't skip placeholders. */
#define hv_iternext(hv) hv_iternext_flags(hv, 0)
+#define hv_magic(hv, gv, how) sv_magic((SV*)(hv), (SV*)(gv), how, Nullch, 0)
/* available as a function in hv.c */
#define Perl_sharepvn(sv, len, hash) HEK_KEY(share_hek(sv, len, hash))