This commit renames reserved field names like `type` to `_type`, and in turn renames those fields as well (recursively). This avoids name clashes when a C struct contains a field named `type`, which is a reserved keyword in Go. For some details, see: https://golang.org/cmd/cgo/#hdr-Go_references_to_C |
||
|---|---|---|
| .. | ||
| testdata | ||
| cgo.go | ||
| cgo_test.go | ||
| const.go | ||
| const_test.go | ||
| libclang.go | ||
| libclang_config.go | ||
| libclang_stubs.c | ||
| sync.go | ||