// This file was generated by
//     //third_party/jni_zero/jni_zero.py
// For
//     org.jni_zero.TinySample

#ifndef org_jni_1zero_TinySample_JNI
#define org_jni_1zero_TinySample_JNI

#include <jni.h>

#include "third_party/jni_zero/jni_export.h"
#include "third_party/jni_zero/jni_zero_helper.h"
// Macro for transition to enable_definition_macros=true.
#define DEFINE_JNI_FOR_TinySample()

// Java to native functions
// Forward declaration. To be implemented by the including .cc file.
static jboolean JNI_TinySample_Bar(JNIEnv* env, jint a, const jni_zero::JavaRef<jobject>& b);

JNI_ZERO_BOUNDARY_EXPORT jboolean Java_org_jni_1zero_GEN_1JNI_org_1jni_11zero_1TinySample_1bar(
    JNIEnv* env,
    jclass jcaller,
    jint a,
    jobject b) {
  auto _ret = JNI_TinySample_Bar(env, a, jni_zero::JavaRef<jobject>::CreateLeaky(env, b));
  return _ret;
}

// Forward declaration. To be implemented by the including .cc file.
static void JNI_TinySample_Foo(JNIEnv* env, const jni_zero::JavaRef<jobject>& a, jint b);

JNI_ZERO_BOUNDARY_EXPORT void Java_org_jni_1zero_GEN_1JNI_org_1jni_11zero_1TinySample_1foo(
    JNIEnv* env,
    jclass jcaller,
    jobject a,
    jint b) {
  JNI_TinySample_Foo(env, jni_zero::JavaRef<jobject>::CreateLeaky(env, a), b);
}



#endif  // org_jni_1zero_TinySample_JNI
