[gambit-list] res_query in the FFI