Versions in this module Expand all Collapse all v0 v0.4.7 Mar 18, 2023 Changes in this version + const CGoHandle + const GoHandle + const GoPkgDefs + const MakefileExeTemplate + const MakefileTemplate + const ModeBuild + const ModeExe + const ModeGen + const ModePkg + const PyBuildPreamble + const PyHandle + const PyWrapExePreamble + const PyWrapPreamble + var NoMake = false + var NoWarn = false + var Packages []*Package + var WindowsOS = false + func CmdStrToMakefile(cmdstr string) string + func GenPyBind(mode BuildMode, libext, extragccargs string, lang int, dynamicLink bool, ...) error + func ResetPackages() + type BindCfg struct + Cmd string + Main string + Name string + OutputDir string + PkgPrefix string + RenameCase bool + VM string + type BuildMode string + type Const struct + func (c *Const) Doc() string + func (c *Const) GoName() string + func (c *Const) GoType() types.Type + func (c *Const) ID() string + type Enum struct + func (e *Enum) AddConst(p *Package, o *types.Const) (*Const, error) + func (e *Enum) Doc() string + func (e *Enum) GoName() string + func (e *Enum) GoType() types.Type + func (e *Enum) ID() string + func (e *Enum) SortConsts() + type ErrorList []error + func (list *ErrorList) Add(err error) + func (list *ErrorList) Error() error + type Func struct + func (f *Func) Doc() string + func (f *Func) GoFmt() string + func (f *Func) GoName() string + func (f *Func) GoType() types.Type + func (f *Func) ID() string + func (f *Func) Obj() types.Object + func (f *Func) Package() *Package + func (f *Func) Return() types.Type + func (f *Func) Signature() *Signature + type Interface struct + func (it *Interface) Doc() string + func (it *Interface) GoName() string + func (it *Interface) GoType() types.Type + func (it *Interface) ID() string + func (it *Interface) Interface() *types.Interface + func (it *Interface) Package() *Package + type Map struct + func (it *Map) Doc() string + func (it *Map) GoName() string + func (it *Map) GoType() types.Type + func (it *Map) ID() string + func (it *Map) Map() *types.Map + func (it *Map) Package() *Package + type Object interface + Doc func() string + GoName func() string + ID func() string + Package func() *Package + type Package struct + func NewPackage(pkg *types.Package, doc *doc.Package) (*Package, error) + func (p *Package) AddPyImport(ipath string, extra bool) + func (p *Package) ImportPath() string + func (p *Package) Lookup(o types.Object) (Object, bool) + func (p *Package) Name() string + type Protocol int + const ProtoStringer + type PyConfig struct + CFlags string + ExtSuffix string + LdDynamicFlags string + LdFlags string + Version int + func GetPythonConfig(vm string) (PyConfig, error) + func (pc *PyConfig) AllFlags() string + type Signature struct + func (sig *Signature) Params() []*Var + func (sig *Signature) Recv() *Var + func (sig *Signature) Results() []*Var + type Slice struct + func (it *Slice) Doc() string + func (it *Slice) GoName() string + func (it *Slice) GoType() types.Type + func (it *Slice) ID() string + func (it *Slice) Package() *Package + func (it *Slice) Slice() *types.Slice + type Struct struct + func (s *Struct) Doc() string + func (s *Struct) FirstEmbed() *symbol + func (s *Struct) GoName() string + func (s *Struct) GoType() types.Type + func (s *Struct) ID() string + func (s *Struct) Obj() *types.TypeName + func (s *Struct) Package() *Package + func (s *Struct) Struct() *types.Struct + type Type interface + GoType func() types.Type + type Var struct + func (v *Var) CGoType() string + func (v *Var) CType() string + func (v *Var) GoType() types.Type + func (v *Var) Name() string