bind

package
v0.0.0-...-2824937 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2020 License: MIT, BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Overview

Package bind implements a code generator for gobind.

See the documentation on the gobind command for usage details and the list of currently supported types. (http://godoc.org/golang.org/x/mobile/cmd/gobind)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenGo

func GenGo(w io.Writer, fset *token.FileSet, pkg *types.Package) error

GenGo generates a Go stub to support foreign language APIs.

func GenJava

func GenJava(w io.Writer, fset *token.FileSet, pkg *types.Package, javaPkg string) error

GenJava generates a Java API from a Go package.

func GenObjc

func GenObjc(w io.Writer, fset *token.FileSet, pkg *types.Package, prefix string, isHeader bool) error

GenObjc generates the Objective-C API from a Go package.

Types

type ErrorList

type ErrorList []error

func (ErrorList) Error

func (list ErrorList) Error() string

Directories

Path Synopsis
Package java implements the Java language bindings.
Package java implements the Java language bindings.
testpkg
Package testpkg contains bound functions for testing the cgo-JNI interface.
Package testpkg contains bound functions for testing the cgo-JNI interface.
testpkg/go_testpkg
Package go_testpkg is an autogenerated binder stub for package testpkg.
Package go_testpkg is an autogenerated binder stub for package testpkg.
Package objc implements the Objective-C language bindings.
Package objc implements the Objective-C language bindings.
testpkg/go_testpkg
Package go_testpkg is an autogenerated binder stub for package testpkg.
Package go_testpkg is an autogenerated binder stub for package testpkg.
Package seq implements the machine-dependent seq serialization format.
Package seq implements the machine-dependent seq serialization format.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL