diff options
author | Sverker Eriksson <[email protected]> | 2015-06-01 15:59:56 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2015-06-01 15:59:56 +0200 |
commit | 76784c1f41c9138397a63a6cfc1ac3e2a50249ef (patch) | |
tree | e171205c9600ea77bc626e1ba53c48b1e6d10191 /erts/emulator/test | |
parent | 8260f916c2ab9b9dff9752b47e47d07ac3d95c92 (diff) | |
parent | a519a52617a6a5bbdb8b17bdd892ab012cf8080b (diff) | |
download | otp-76784c1f41c9138397a63a6cfc1ac3e2a50249ef.tar.gz otp-76784c1f41c9138397a63a6cfc1ac3e2a50249ef.tar.bz2 otp-76784c1f41c9138397a63a6cfc1ac3e2a50249ef.zip |
Merge branch 'sverk/nif-map-docs'
* sverk/nif-map-docs:
erts: Cleanup fsummary lines in erl_nif docs
erts: Fix alphabetic order in erl_nif doc
erts: Add docs for map functions in nif API
erts: Rename ErlNifMapIteratorEntry enums
Diffstat (limited to 'erts/emulator/test')
-rw-r--r-- | erts/emulator/test/nif_SUITE_data/nif_SUITE.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/test/nif_SUITE_data/nif_SUITE.c b/erts/emulator/test/nif_SUITE_data/nif_SUITE.c index 3cc9f51ef8..d964ae338e 100644 --- a/erts/emulator/test/nif_SUITE_data/nif_SUITE.c +++ b/erts/emulator/test/nif_SUITE_data/nif_SUITE.c @@ -1802,7 +1802,7 @@ static ERL_NIF_TERM sorted_list_from_maps_nif(ErlNifEnv* env, int argc, const ER if (argc != 1 && !enif_is_map(env, map)) return enif_make_int(env, __LINE__); - if(!enif_map_iterator_create(env, map, &iter_f, ERL_NIF_MAP_ITERATOR_HEAD)) + if(!enif_map_iterator_create(env, map, &iter_f, ERL_NIF_MAP_ITERATOR_FIRST)) return enif_make_int(env, __LINE__); cnt = 0; @@ -1817,7 +1817,7 @@ static ERL_NIF_TERM sorted_list_from_maps_nif(ErlNifEnv* env, int argc, const ER if (cnt && next_ret) return enif_make_int(env, __LINE__); - if(!enif_map_iterator_create(env, map, &iter_b, ERL_NIF_MAP_ITERATOR_TAIL)) + if(!enif_map_iterator_create(env, map, &iter_b, ERL_NIF_MAP_ITERATOR_LAST)) return enif_make_int(env, __LINE__); cnt = 0; |