Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CtoCgoType = map[string]string{
"void*": "unsafe.Pointer",
}
View Source
var CtoGoType = map[string]string{
"float": "float32",
"double": "float64",
"int": "int",
"void*": "unsafe.Pointer",
"void": "",
}
maps C to Go types
View Source
var FilterTokens = map[string]bool{ "const": true, "enum": true, }
These tokens are ignored
Functions ¶
Types ¶
type TData ¶
type TData struct {
Funcs []Func
}
Utility type, pass to template rendering
Click to show internal directories.
Click to hide internal directories.