binder

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package binder generates bindings given a GX package.

Index

Constants

This section is empty.

Variables

View Source
var Binders = map[string]bindings.New{
	"go": goBinder,
	"cc": ccbindings.New,
}

Binders available.

Functions

func Bind

func Bind(language string, filepath string, pkg *ir.Package) error

Bind generates the package for a given language and file name.

func GoBindings

func GoBindings(w io.Writer, pkg *ir.Package) error

GoBindings generates the Go bindings into a writer.

Types

This section is empty.

Directories

Path Synopsis
Package bindings provides abstractions shared by all bindings generators.
Package bindings provides abstractions shared by all bindings generators.
Package ccbindings generates C++ bindings for a GX package.
Package ccbindings generates C++ bindings for a GX package.
fmtpath
Package fmtpath formats paths for C++ generated files.
Package fmtpath formats paths for C++ generated files.
cgx
Package cgx provides an interface for calling into GX from C.
Package cgx provides an interface for calling into GX from C.
_obj
Package cgx provides an interface for calling into GX from C.
Package cgx provides an interface for calling into GX from C.
embed
Package embed exposes a builder loading GX files from the files embedded in the binary.
Package embed exposes a builder loading GX files from the files embedded in the binary.
testing
Package testing provide a cgx runtime for GX testing.
Package testing provide a cgx runtime for GX testing.
testing/_obj
Package testing provide a cgx runtime for GX testing.
Package testing provide a cgx runtime for GX testing.
testing/async
Package async tests cgx with concurrent calls.
Package async tests cgx with concurrent calls.
Utility genbind generates bindings for GX packages.
Utility genbind generates bindings for GX packages.
Package gobindings generates Go bindings for a GX package.
Package gobindings generates Go bindings for a GX package.
types
Package types defines types used in the Go bindings.
Package types defines types used in the Go bindings.

Jump to

Keyboard shortcuts

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