aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_map.h
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2015-03-05 18:48:14 +0100
committerBjörn-Egil Dahlberg <[email protected]>2015-03-12 19:15:33 +0100
commit01e843722aa39b3411d349c6fbea80ad87a6e9ef (patch)
treef3e012dcd03dc5a456ad51a36d11f4e9abf4cea5 /erts/emulator/beam/erl_map.h
parent494223c5e5de14c3f7a9aa8395d2d99a7faa0eca (diff)
downloadotp-01e843722aa39b3411d349c6fbea80ad87a6e9ef.tar.gz
otp-01e843722aa39b3411d349c6fbea80ad87a6e9ef.tar.bz2
otp-01e843722aa39b3411d349c6fbea80ad87a6e9ef.zip
erts: Reject duplicate keys for hamt in binary_to_term
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 35dbed86a9..39d98b9e03 100644
--- a/erts/emulator/beam/erl_map.h
+++ b/erts/emulator/beam/erl_map.h
@@ -102,7 +102,7 @@ int erts_validate_and_sort_map(map_t* map);
void hashmap_iterator_init(struct ErtsWStack_* s, Eterm node);
Eterm* hashmap_iterator_next(struct ErtsWStack_* s);
int hashmap_key_hash_cmp(Eterm* ap, Eterm* bp);
-Eterm erts_hashmap_from_array(ErtsHeapFactory*, Eterm *leafs, Uint n);
+Eterm erts_hashmap_from_array(ErtsHeapFactory*, Eterm *leafs, Uint n, int reject_dupkeys);
const Eterm *erts_hashmap_get(Uint32 hx, Eterm key, Eterm map);
#define erts_hashmap_from_ks_and_vs(P, KS, VS, N) \