[erlang-patches] [PATCH] - Add NIF function enif_phash2

Paul Davis <>
Fri Feb 8 00:58:49 CET 2013


git fetch git://github.com/davisp/otp.git enif_phash2

https://github.com/davisp/otp/compare/maint...enif_phash2
https://github.com/davisp/otp/compare/maint...enif_phash2.patch

This patch exposes the phash2 function to NIFs. It is exactly equivalent to:

    erlang:phash2(Term, 16#100000000)

Thanks,
Paul Davis


More information about the erlang-patches mailing list