pub unsafe extern "C" fn PL_current_query() -> qid_t