2
0
mirror of synced 2025-02-23 14:58:12 +00:00
mobile/bind/testdata/ignore.java.h.golden
Elias Naur 390f7b3813 mobile/bind: skip unsupported functions, vars, fields and methods
Bind attempts to generate bindings for everything a package exports,
generating an error for what it cannot handle.
For multiple bound packages, unexporting what should not be bound
is sometimes awkward or outright impossible.

Lacking the equivalent of Cgo's //export directory, this CL change
the behaviour of bind to simply ignore everything it can't generate
bindings for, even if otherwise exported. For every declaration it
ignores, a comment is generated instead, to help any confusion as
to why a particular export was not included.

Change-Id: I2c7a5bee0f19a58009293b4e5ac2c95687e62e80
Reviewed-on: https://go-review.googlesource.com/20651
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
2016-03-15 16:00:42 +00:00

21 lines
504 B
Plaintext

// JNI function headers for the Go <=> Java bridge.
// gobind -lang=java ignore
//
// File is generated by gobind. Do not edit.
#ifndef __Ignore_H__
#define __Ignore_H__
#include <jni.h>
extern jclass proxy_class_ignore_I;
extern 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
extern jclass proxy_class_ignore_S;
extern jmethodID proxy_class_ignore_S_cons;
#endif