tool

package
v0.7.5 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenGo

func GenGo(outDir, buildDir string, conf *Config) (err error)

GenGo generates Go code from C++ header files.

Types

type Config

type Config struct {
	PkgPath string
	PkgName string

	Deps []string // dependent packages
	Libs string   // $(pkg-config --libs xxx)

	HeaderFiles []string

	Parser parser.Config
	NC     nc.NodeConverter
}

Config is the configuration for generating Go code from C++ header files.

Jump to

Keyboard shortcuts

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