Remove the use of make_hash2

We were being rather naughty relying on the ability to resolve symbols
in the executable that loads the NIF. Apparently Windows has a much
different NIF loading system which prevents this from working. Given
that the patch for exposing enif_phash was never merged we're solving
the issue by removing the need from hashing terms in the NIF.

This new approach simply hashes the term in Erlang and passes the
calculated value in the NIF call. We then just store the calculated
value along with the key and value as before.

COUCHDB-2750
2 files changed
tree: ee4d13191a37fa200ee7ed467f21083d49e9628e
  1. c_src/
  2. src/
  3. test/
  4. .gitignore
  5. LICENSE
  6. Makefile
  7. README.md
  8. rebar.config
README.md

khash

This is a basic NIF wrapper around Kazlib's hash data structure.