blob: 698d6678d69e8850526dcf8e124f031a446d02a9 [file] [log] [blame]
Elliott Hughes88c5c352012-03-15 18:49:48 -07001/*
2 * Copyright (C) 2012 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
Brian Carlstromfc0e3212013-07-17 14:40:12 -070017#ifndef ART_RUNTIME_JOBJECT_COMPARATOR_H_
18#define ART_RUNTIME_JOBJECT_COMPARATOR_H_
Elliott Hughes88c5c352012-03-15 18:49:48 -070019
Ian Rogers00f7d0e2012-07-19 15:28:27 -070020#include <jni.h>
Elliott Hughes88c5c352012-03-15 18:49:48 -070021
22namespace art {
23
Ian Rogers00f7d0e2012-07-19 15:28:27 -070024struct JobjectComparator {
25 bool operator()(jobject jobj1, jobject jobj2) const;
Elliott Hughes88c5c352012-03-15 18:49:48 -070026};
27
28} // namespace art
29
Brian Carlstromfc0e3212013-07-17 14:40:12 -070030#endif // ART_RUNTIME_JOBJECT_COMPARATOR_H_