bind

package
v0.0.0-...-ff625c4 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2016 License: BSD-3-Clause Imports: 11 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/github.com/c-darwin/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) error

GenJava generates a Java API from a Go package.

func GenObjc

func GenObjc(w io.Writer, fset *token.FileSet, pkg *types.Package, 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.
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