pub unsafe extern "C" fn enif_get_ulong(
    env: *mut ErlNifEnv,
    term: ERL_NIF_TERM,
    ip: *mut c_ulong
) -> c_int