aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_map.h
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2015-03-11 20:39:08 +0100
committerBjörn-Egil Dahlberg <[email protected]>2015-03-12 19:15:34 +0100
commit81551dd13167b9c4458c4fee7ce08e152f9f5273 (patch)
treeb609eb04cb28d120185d83c60066321b7b9a8def /erts/emulator/beam/erl_map.h
parentc8f731bfec32a34d49304ea78017b63af053eecd (diff)
downloadotp-81551dd13167b9c4458c4fee7ce08e152f9f5273.tar.gz
otp-81551dd13167b9c4458c4fee7ce08e152f9f5273.tar.bz2
otp-81551dd13167b9c4458c4fee7ce08e152f9f5273.zip
erts: Make hashmap iterator more flexible
to allow mixing of 'next' and 'prev' operations.
Diffstat (limited to 'erts/emulator/beam/erl_map.h')
-rw-r--r--erts/emulator/beam/erl_map.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_map.h b/erts/emulator/beam/erl_map.h
index 884bf69a34..c6d8b1966c 100644
--- a/erts/emulator/beam/erl_map.h
+++ b/erts/emulator/beam/erl_map.h
@@ -100,7 +100,7 @@ Eterm erts_hashmap_insert_up(Eterm *hp, Eterm key, Eterm value,
int erts_validate_and_sort_flatmap(flatmap_t* map);
Uint hashmap_over_estimated_heap_size(Uint n);
-void hashmap_iterator_init(struct ErtsWStack_* s, Eterm node);
+void hashmap_iterator_init(struct ErtsWStack_* s, Eterm node, int reverse);
Eterm* hashmap_iterator_next(struct ErtsWStack_* s);
Eterm* hashmap_iterator_prev(struct ErtsWStack_* s);
int hashmap_key_hash_cmp(Eterm* ap, Eterm* bp);