pub unsafe extern "C" fn enif_alloc_env() -> *mut ErlNifEnv