modulepackage
0.0.0-20230518182913-669bcdfdb68b
Repository: https://github.com/h12w/go-gccxml.git
Documentation: pkg.go.dev
# README
go-gccxml: Go binding and extension to gccxml
go-gccxml is a Go binding to gccxml (http://gccxml.github.io). Its main purpose is to parse C headers, and contains some extentions to make C declarations easier to process.
Castxml is also supported as a dropin replacement of gccxml.
# Functions
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
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
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
No description provided by the author
No description provided by the author
No description provided by the author
TODO: find a way to merge with CDecl, the differnces are: 1.
No description provided by the author
No description provided by the author
# Constants
Type conversion rules:
(Num)
(Bool)
(Struct)
|--- C.f(T p) ------------------ f(p T)
|
| char*
| (String)
| ----------------- f(p string)
| |
| In/InOut | [1]T
| (Slice) | (PtrWrapper)
| --------------- f(p []T) ------------------ f(p *T)
| |
| | Out [1]T
| | (SliceReturn) (CPtrReturn)
| --- C.f(T *p) ---------------- f() (p []T) --------------- f() (p T)
| |
| | void*
| | (PtrWrapper)
| --------------- f(p uintptr)
|
| --- C.f() *p
| --- C.f(T **p)
struct (ref/value type)
*/.
including input array, and output buffer to write.
.
Type conversion rules:
(Num)
(Bool)
(Struct)
|--- C.f(T p) ------------------ f(p T)
|
| char*
| (String)
| ----------------- f(p string)
| |
| In/InOut | [1]T
| (Slice) | (PtrWrapper)
| --------------- f(p []T) ------------------ f(p *T)
| |
| | Out [1]T
| | (SliceReturn) (CPtrReturn)
| --- C.f(T *p) ---------------- f() (p []T) --------------- f() (p T)
| |
| | void*
| | (PtrWrapper)
| --------------- f(p uintptr)
|
| --- C.f() *p
| --- C.f(T **p)
struct (ref/value type)
*/.
Type conversion rules:
(Num)
(Bool)
(Struct)
|--- C.f(T p) ------------------ f(p T)
|
| char*
| (String)
| ----------------- f(p string)
| |
| In/InOut | [1]T
| (Slice) | (PtrWrapper)
| --------------- f(p []T) ------------------ f(p *T)
| |
| | Out [1]T
| | (SliceReturn) (CPtrReturn)
| --- C.f(T *p) ---------------- f() (p []T) --------------- f() (p T)
| |
| | void*
| | (PtrWrapper)
| --------------- f(p uintptr)
|
| --- C.f() *p
| --- C.f(T **p)
struct (ref/value type)
*/.
ptr to struct/union.
return a value through the pointer.
like PtrArray, but type is char*.
.
Typedef a pointer.
# Variables
No description provided by the author
No description provided by the author
Modify this variable if gccxml is in another path.
# Structs
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
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
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
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
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
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
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
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
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
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
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
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
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
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
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
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
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
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author