Created
August 16, 2016 12:28
-
-
Save goertzenator/b2b8b1e13d28af554e606a0d1b2caa2b to your computer and use it in GitHub Desktop.
TERM equality edits
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/examples/nifpptest.cpp b/examples/nifpptest.cpp | |
| index bdda528..570e384 100644 | |
| --- a/examples/nifpptest.cpp | |
| +++ b/examples/nifpptest.cpp | |
| @@ -279,7 +279,7 @@ ERL_NIF_TERM nif_main(ErlNifEnv* env, nifpp::TERM term) | |
| else if(cmd=="list2bc") { return list2_test<std::deque <nifpp::TERM> >(env, cmddata); } | |
| else if(cmd=="list2bd") { return set2_test<std::set <nifpp::TERM> >(env, cmddata); } | |
| else if(cmd=="list2be") { return list2_test<std::multiset <nifpp::TERM> >(env, cmddata); } | |
| - else if(cmd=="list2bf") { return set2_test<std::unordered_set<nifpp::TERM> >(env, cmddata); } | |
| + // else if(cmd=="list2bf") { return set2_test<std::unordered_set<nifpp::TERM> >(env, cmddata); } | |
| else if(cmd=="list2ca") { return list2_test<std::vector <std::tuple<int, std::string> > >(env, cmddata); } | |
| else if(cmd=="list2cb") { return list2_test<std::list <std::tuple<int, std::string> > >(env, cmddata); } | |
| @@ -307,7 +307,7 @@ ERL_NIF_TERM nif_main(ErlNifEnv* env, nifpp::TERM term) | |
| } | |
| else if(cmd=="mapflipaa") { return mapflip_test<nifpp::TERM, nifpp::TERM>(env, cmddata); } | |
| - else if(cmd=="mapflipab") { return umapflip_test<nifpp::TERM, nifpp::TERM>(env, cmddata); } | |
| + // else if(cmd=="mapflipab") { return umapflip_test<nifpp::TERM, nifpp::TERM>(env, cmddata); } | |
| else if(cmd=="mapflipba") { return mapflip_test<nifpp::str_atom, int>(env, cmddata); } | |
| else if(cmd=="mapflipbb") { return umapflip_test<nifpp::str_atom, int>(env, cmddata); } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment