Ensure that future otp releases get the same compatibility macros as those defined for OTP R14A/B (the minor and major version macro values for R14B02 changed). Also added a few more compat macros: * enif_realloc_binary_compat * enif_release_binary_compat * enif_priv_data_compat * enif_make_string_compat * enif_make_uint_compat
… when encoding.
… for optmization purposes.
… reverse via and and converting to the final ejson value inside erlang, doing the numberparsing inside erlang.
If the reload and upgrade functions are NULL they will cause any attempt at reloading or upgrading the NIF to fail. We don't have any sort of state that needs to be managed so simple definitions that simply return 0 should be all that's required.