Global variables (like functions) must be declared in the import "C" preamble and can then be used from Go. |
||
|---|---|---|
| .. | ||
| cgo.go | ||
| errors.go | ||
| libclang.go | ||
| libclang_config.go | ||
| loader.go | ||
| ssa.go | ||
Global variables (like functions) must be declared in the import "C" preamble and can then be used from Go. |
||
|---|---|---|
| .. | ||
| cgo.go | ||
| errors.go | ||
| libclang.go | ||
| libclang_config.go | ||
| loader.go | ||
| ssa.go | ||