pub unsafe extern "C" fn PL_get_intptr_ex(
    t: term_t,
    i: *mut isize
) -> c_int