pub unsafe extern "C" fn PL_recorded_external(
    rec: *const c_char,
    term: term_t
) -> c_int