188c5c355fc3d881f905564911d746b2313d5fc89Elliott Hughes/* 288c5c355fc3d881f905564911d746b2313d5fc89Elliott Hughes * Copyright (C) 2012 The Android Open Source Project 388c5c355fc3d881f905564911d746b2313d5fc89Elliott Hughes * 488c5c355fc3d881f905564911d746b2313d5fc89Elliott Hughes * Licensed under the Apache License, Version 2.0 (the "License"); 588c5c355fc3d881f905564911d746b2313d5fc89Elliott Hughes * you may not use this file except in compliance with the License. 688c5c355fc3d881f905564911d746b2313d5fc89Elliott Hughes * You may obtain a copy of the License at 788c5c355fc3d881f905564911d746b2313d5fc89Elliott Hughes * 888c5c355fc3d881f905564911d746b2313d5fc89Elliott Hughes * http://www.apache.org/licenses/LICENSE-2.0 988c5c355fc3d881f905564911d746b2313d5fc89Elliott Hughes * 1088c5c355fc3d881f905564911d746b2313d5fc89Elliott Hughes * Unless required by applicable law or agreed to in writing, software 1188c5c355fc3d881f905564911d746b2313d5fc89Elliott Hughes * distributed under the License is distributed on an "AS IS" BASIS, 1288c5c355fc3d881f905564911d746b2313d5fc89Elliott Hughes * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1388c5c355fc3d881f905564911d746b2313d5fc89Elliott Hughes * See the License for the specific language governing permissions and 1488c5c355fc3d881f905564911d746b2313d5fc89Elliott Hughes * limitations under the License. 1588c5c355fc3d881f905564911d746b2313d5fc89Elliott Hughes */ 1688c5c355fc3d881f905564911d746b2313d5fc89Elliott Hughes 17fc0e3219edc9a5bf81b166e82fd5db2796eb6a0dBrian Carlstrom#ifndef ART_RUNTIME_JOBJECT_COMPARATOR_H_ 18fc0e3219edc9a5bf81b166e82fd5db2796eb6a0dBrian Carlstrom#define ART_RUNTIME_JOBJECT_COMPARATOR_H_ 1988c5c355fc3d881f905564911d746b2313d5fc89Elliott Hughes 2000f7d0eaa6bd93d33bf0c1429bf4ba0b3f28abacIan Rogers#include <jni.h> 2188c5c355fc3d881f905564911d746b2313d5fc89Elliott Hughes 2288c5c355fc3d881f905564911d746b2313d5fc89Elliott Hughesnamespace art { 2388c5c355fc3d881f905564911d746b2313d5fc89Elliott Hughes 2400f7d0eaa6bd93d33bf0c1429bf4ba0b3f28abacIan Rogersstruct JobjectComparator { 2500f7d0eaa6bd93d33bf0c1429bf4ba0b3f28abacIan Rogers bool operator()(jobject jobj1, jobject jobj2) const; 2688c5c355fc3d881f905564911d746b2313d5fc89Elliott Hughes}; 2788c5c355fc3d881f905564911d746b2313d5fc89Elliott Hughes 2888c5c355fc3d881f905564911d746b2313d5fc89Elliott Hughes} // namespace art 2988c5c355fc3d881f905564911d746b2313d5fc89Elliott Hughes 30fc0e3219edc9a5bf81b166e82fd5db2796eb6a0dBrian Carlstrom#endif // ART_RUNTIME_JOBJECT_COMPARATOR_H_ 31