/*
 * Copyright (C) 2012 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#ifndef ART_RUNTIME_ENTRYPOINTS_JNI_JNI_ENTRYPOINTS_H_
#define ART_RUNTIME_ENTRYPOINTS_JNI_JNI_ENTRYPOINTS_H_

#include "jni.h"

#include "base/macros.h"
#include "offsets.h"

#define JNI_ENTRYPOINT_OFFSET(ptr_size, x) \
    Thread::JniEntryPointOffset<ptr_size>(OFFSETOF_MEMBER(JniEntryPoints, x))

namespace art HIDDEN {

// Pointers to functions that are called by JNI trampolines via thread-local storage.
struct JniEntryPoints {
  // Called when the JNI method isn't registered for normal native and @FastNative methods.
  void* pDlsymLookup;
  // Called when the JNI method isn't registered for @CriticalNative methods.
  void* pDlsymLookupCritical;
};

}  // namespace art

#endif  // ART_RUNTIME_ENTRYPOINTS_JNI_JNI_ENTRYPOINTS_H_
