pub unsafe fn enif_term_type(
    env: *mut ErlNifEnv,
    term: ERL_NIF_TERM
) -> ErlNifTermType