diff options
author | Guilherme Andrade <[email protected]> | 2017-04-20 21:35:54 +0100 |
---|---|---|
committer | Guilherme Andrade <[email protected]> | 2017-04-20 21:51:16 +0100 |
commit | 1b37d0b010ea31b04b9d0a15d0bec9c75a013dc9 (patch) | |
tree | a543b013c074d8e763a31e0adf706f7cf922176a /erts/emulator/test/nif_SUITE_data | |
parent | 0835f40ae25f97360dc393928796387d3cd6b16e (diff) | |
download | otp-1b37d0b010ea31b04b9d0a15d0bec9c75a013dc9.tar.gz otp-1b37d0b010ea31b04b9d0a15d0bec9c75a013dc9.tar.bz2 otp-1b37d0b010ea31b04b9d0a15d0bec9c75a013dc9.zip |
erts: Remove enif_phash2_ranged
Diffstat (limited to 'erts/emulator/test/nif_SUITE_data')
-rw-r--r-- | erts/emulator/test/nif_SUITE_data/nif_SUITE.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/erts/emulator/test/nif_SUITE_data/nif_SUITE.c b/erts/emulator/test/nif_SUITE_data/nif_SUITE.c index 3bdd4d93c7..dac6d02e9d 100644 --- a/erts/emulator/test/nif_SUITE_data/nif_SUITE.c +++ b/erts/emulator/test/nif_SUITE_data/nif_SUITE.c @@ -695,15 +695,6 @@ static ERL_NIF_TERM phash2_nif(ErlNifEnv* env, int argc, const ERL_NIF_TERM argv return enif_make_ulong(env, enif_phash2(argv[0])); } -static ERL_NIF_TERM phash2_ranged_nif(ErlNifEnv* env, int argc, const ERL_NIF_TERM argv[]) -{ - unsigned long range; - if (argc != 2 || !enif_get_ulong(env, argv[1], &range)) { - return enif_make_badarg(env); - } - return enif_make_ulong(env, enif_phash2_ranged(argv[0], range)); -} - static ERL_NIF_TERM many_args_100(ErlNifEnv* env, int argc, const ERL_NIF_TERM argv[]) { int i, k; @@ -2882,7 +2873,6 @@ static ErlNifFunc nif_funcs[] = {"is_identical",2,is_identical}, {"compare",2,compare}, {"phash2_nif",1,phash2_nif}, - {"phash2_ranged_nif",2,phash2_ranged_nif}, {"many_args_100", 100, many_args_100}, {"clone_bin", 1, clone_bin}, {"make_sub_bin", 3, make_sub_bin}, |