diff options
author | Nicholas Clark <nick@ccl4.org> | 2005-10-30 10:31:01 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-10-30 10:31:01 +0000 |
commit | 7a7b9979b52d5d343099df1ecef6251a3db2d8e8 (patch) | |
tree | 168207671e02d3c64f54a59864b20ce61f9f4e82 /hv.c | |
parent | 4a31713e65b514c8128b1b5004c0f6d73a80aec3 (diff) | |
download | perl-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.c')
-rw-r--r-- | hv.c | 12 |
1 files changed, 2 insertions, 10 deletions
@@ -1889,6 +1889,8 @@ Perl_hv_name_set(pTHX_ HV *hv, const char *name, I32 len, int flags) } /* +hv_iternext is implemented as a macro in hv.h + =for apidoc hv_iternext Returns entries from a hash iterator. See C<hv_iterinit>. @@ -1901,16 +1903,6 @@ to free the entry on the next call to C<hv_iternext>, so you must not discard your iterator immediately else the entry will leak - call C<hv_iternext> to trigger the resource deallocation. -=cut -*/ - -HE * -Perl_hv_iternext(pTHX_ HV *hv) -{ - return hv_iternext_flags(hv, 0); -} - -/* =for apidoc hv_iternext_flags Returns entries from a hash iterator. See C<hv_iterinit> and C<hv_iternext>. |