Documentation
¶
Overview ¶
Package bindings provides abstractions shared by all bindings generators.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildFuncs ¶
BuildFuncs collects all the functions of a package for which bindings are generated.
func CanBeOnDevice ¶
CanBeOnDevice returns true if a type can be on device.
func CanBeOnDeviceFunc ¶
CanBeOnDeviceFunc returns true if a function can be implemented on a device.
func IsDefaultInt ¶
IsDefaultInt returns true if the kind can be converted to the system default integer type.
Types ¶
type Binder ¶
type Binder interface {
Files() []File
}
Binder writes the bindings for a specific language.
Click to show internal directories.
Click to hide internal directories.