diff options
author | Lukas Larsson <[email protected]> | 2011-07-01 10:21:03 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2011-07-01 10:21:03 +0200 |
commit | 406460b546ae014d335b4b5f6b011ce3fbf26e5c (patch) | |
tree | 6f17c1eea3f4ed73a8ea656602a53fb80f3c0159 /erts/emulator/test | |
parent | 6f9e2029f780ed6fb2deef1dd7f78b84b090b488 (diff) | |
download | otp-406460b546ae014d335b4b5f6b011ce3fbf26e5c.tar.gz otp-406460b546ae014d335b4b5f6b011ce3fbf26e5c.tar.bz2 otp-406460b546ae014d335b4b5f6b011ce3fbf26e5c.zip |
Rename enif_get_reverse_list to enif_make_reverse_list
Diffstat (limited to 'erts/emulator/test')
-rw-r--r-- | erts/emulator/test/nif_SUITE.erl | 2 | ||||
-rw-r--r-- | erts/emulator/test/nif_SUITE_data/nif_SUITE.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/test/nif_SUITE.erl b/erts/emulator/test/nif_SUITE.erl index 813ed65f4b..3bc4ad610f 100644 --- a/erts/emulator/test/nif_SUITE.erl +++ b/erts/emulator/test/nif_SUITE.erl @@ -1169,7 +1169,7 @@ reverse_list_test(Config) -> List = lists:seq(1,100), RevList = lists:reverse(List), ?line RevList = reverse_list(List), - badarg = reverse_list(foo). + ?line badarg = reverse_list(foo). tmpmem() -> case erlang:system_info({allocator,temp_alloc}) of diff --git a/erts/emulator/test/nif_SUITE_data/nif_SUITE.c b/erts/emulator/test/nif_SUITE_data/nif_SUITE.c index 87b4d4c4ed..b9bacbb693 100644 --- a/erts/emulator/test/nif_SUITE_data/nif_SUITE.c +++ b/erts/emulator/test/nif_SUITE_data/nif_SUITE.c @@ -1376,7 +1376,7 @@ static ERL_NIF_TERM send_term(ErlNifEnv* env, int argc, const ERL_NIF_TERM argv[ static ERL_NIF_TERM reverse_list(ErlNifEnv* env, int argc, const ERL_NIF_TERM argv[]) { ERL_NIF_TERM rev_list; - if(!enif_get_reverse_list(env, argv[0], &rev_list)) + if(!enif_make_reverse_list(env, argv[0], &rev_list)) return enif_make_atom(env, "badarg"); return rev_list; } |