pub unsafe extern "C" fn PL_record_external(
    t: term_t,
    size: *mut usize
) -> *mut c_char