# Functions
CmdStrToMakefile does what is needed to make the command string suitable for makefiles * removes -output.
GenPyBind generates a .go file, build.py file to enable pybindgen to create python bindings, and wrapper .py file(s) that are loaded as the interface to the package with shadow python-side classes mode = gen, build, pkg, exe.
GetPythonConfig returns the needed python configuration for the given python VM (python, python2, python3, pypy, etc...).
NewPackage creates a new Package, tying types.Package and ast.Package together.
ResetPackages resets any accumulated packages -- needed when doing tests.
# Constants
CGoHandle is Handle for cgo files.
GoHandle is the type to use for the Handle map key, go-side.
3 = libcfg, 4 = GoHandle, 5 = CGoHandle, 6 = all imports, 7 = mainstr, 8 = exe pre C, 9 = exe pre go.
exe version of template: 3 = gencmd, 4 = vm, 5 = libext.
3 = gencmd, 4 = vm, 5 = libext 6 = extraGccArgs, 7 = CFLAGS, 8 = LDLFAGS, 9 = windows special declspec hack.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
3 = libcfg, 4 = GoHandle, 5 = CGoHandle, 6 = all imports, 7 = mainstr, 8 = exe pre C, 9 = exe pre go.
PyHandle is within python.
exe version of preamble -- doesn't need complex code to load _ module 3 = specific package name, 4 = spec pkg path, 5 = doc, 6 = imports.
3 = specific package name, 4 = spec pkg path, 5 = doc, 6 = imports.
# Structs
BindCfg is a configuration used during binding generation.
No description provided by the author
No description provided by the author
Func collects information about a go func/method.
Interface collects information about a go interface.
Map collects information about a go map.
Package ties types.Package and ast.Package together.
No description provided by the author
A Signature represents a (non-builtin) function or method type.
Slice collects information about a go slice.
Struct collects information about a go struct.
No description provided by the author