The Objective-C bindings was recently changed to support the empty name prefix and to use that as the default. This CLs changed the Java generators in the same way, supporting the empty Java package and using it as the default. Change-Id: I857affce686c67638a2b6c4e1da5d6a88d7ba560 Reviewed-on: https://go-review.googlesource.com/34778 Reviewed-by: David Crawshaw <crawshaw@golang.org>
66 lines
2.1 KiB
Plaintext
66 lines
2.1 KiB
Plaintext
// JNI functions for the Go <=> Java bridge.
|
|
// gobind -lang=java ignore
|
|
//
|
|
// File is generated by gobind. Do not edit.
|
|
|
|
#include <android/log.h>
|
|
#include <stdint.h>
|
|
#include "seq.h"
|
|
#include "_cgo_export.h"
|
|
#include "ignore.h"
|
|
|
|
jclass proxy_class_ignore_I;
|
|
jmethodID proxy_class_ignore_I_cons;
|
|
// skipped method I.Argument with unsupported parameter or return types
|
|
|
|
// skipped method I.Result with unsupported parameter or return types
|
|
|
|
jclass proxy_class_ignore_S;
|
|
jmethodID proxy_class_ignore_S_cons;
|
|
|
|
JNIEXPORT void JNICALL
|
|
Java_ignore_Ignore__1init(JNIEnv *env, jclass _unused) {
|
|
jclass clazz;
|
|
clazz = (*env)->FindClass(env, "ignore/S");
|
|
proxy_class_ignore_S = (*env)->NewGlobalRef(env, clazz);
|
|
proxy_class_ignore_S_cons = (*env)->GetMethodID(env, clazz, "<init>", "(Lgo/Seq$Ref;)V");
|
|
clazz = (*env)->FindClass(env, "ignore/Ignore$proxyI");
|
|
proxy_class_ignore_I = (*env)->NewGlobalRef(env, clazz);
|
|
proxy_class_ignore_I_cons = (*env)->GetMethodID(env, clazz, "<init>", "(Lgo/Seq$Ref;)V");
|
|
clazz = (*env)->FindClass(env, "ignore/I");
|
|
// skipped method I.Argument with unsupported parameter or return types
|
|
|
|
// skipped method I.Result with unsupported parameter or return types
|
|
|
|
|
|
}
|
|
|
|
// skipped function Argument with unsupported parameter or return types
|
|
|
|
// skipped function Result with unsupported parameter or return types
|
|
|
|
JNIEXPORT jobject JNICALL
|
|
Java_ignore_S__1_1New(JNIEnv *env, jclass clazz) {
|
|
int32_t refnum = new_ignore_S();
|
|
return go_seq_from_refnum(env, refnum, NULL, NULL);
|
|
}
|
|
|
|
// skipped function S.Argument with unsupported parameter or return types
|
|
|
|
// skipped function S.Result with unsupported parameter or return types
|
|
|
|
// skipped field S with unsupported type: *types.Interface
|
|
|
|
// skipped function I.Argument with unsupported parameter or return types
|
|
|
|
// skipped method I with unsupported parameter or return types
|
|
|
|
// skipped function I.Result with unsupported parameter or return types
|
|
|
|
// skipped method I with unsupported parameter or return types
|
|
|
|
// skipped variable V with unsupported type: *types.Interface
|
|
|
|
// skipped variable Var with unsupported type: *types.Interface
|
|
|