• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright 2014 The Chromium Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5
6// This file is autogenerated by
7//     third_party/jni_zero/jni_generator.py
8// For
9//     org/jni_zero/samples/SampleModule
10
11#ifndef org_jni_zero_samples_SampleModule_JNI
12#define org_jni_zero_samples_SampleModule_JNI
13
14#include <jni.h>
15
16#include "third_party/jni_zero/jni_export.h"
17#include "third_party/jni_zero/jni_zero_helper.h"
18
19
20// Step 1: Forward declarations.
21
22
23// Step 2: Constants (optional).
24
25
26// Step 3: Method stubs.
27static jboolean JNI_SampleModule_Bar(JNIEnv* env, jint a);
28
29JNI_BOUNDARY_EXPORT jboolean Java_J_module_1N_MaOHChCD(
30    JNIEnv* env,
31    jclass jcaller,
32    jint a) {
33  return JNI_SampleModule_Bar(env, a);
34}
35
36static void JNI_SampleModule_Foo(JNIEnv* env);
37
38JNI_BOUNDARY_EXPORT void Java_J_module_1N_MF1ZO_1It(
39    JNIEnv* env,
40    jclass jcaller) {
41  return JNI_SampleModule_Foo(env);
42}
43
44
45#endif  // org_jni_zero_samples_SampleModule_JNI
46