summaryrefslogtreecommitdiff
path: root/hv.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-10-30 10:31:01 +0000
committerNicholas Clark <nick@ccl4.org>2005-10-30 10:31:01 +0000
commit7a7b9979b52d5d343099df1ecef6251a3db2d8e8 (patch)
tree168207671e02d3c64f54a59864b20ce61f9f4e82 /hv.h
parent4a31713e65b514c8128b1b5004c0f6d73a80aec3 (diff)
downloadperl-7a7b9979b52d5d343099df1ecef6251a3db2d8e8.tar.gz
Replace hv_iternext() with a macro that calls hv_iternext_flags with
an extra 0 argument. Move the old body to mathoms.c p4raw-id: //depot/perl@25895
Diffstat (limited to 'hv.h')
-rw-r--r--hv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hv.h b/hv.h
index f47a77b98b..5243adc7c1 100644
--- a/hv.h
+++ b/hv.h
@@ -360,6 +360,8 @@ C<SV*>.
/* Flags for hv_iternext_flags. */
#define HV_ITERNEXT_WANTPLACEHOLDERS 0x01 /* Don't skip placeholders. */
+#define hv_iternext(hv) hv_iternext_flags(hv, 0)
+
/* available as a function in hv.c */
#define Perl_sharepvn(sv, len, hash) HEK_KEY(share_hek(sv, len, hash))
#define sharepvn(sv, len, hash) Perl_sharepvn(sv, len, hash)