Ayke
|
01f6aff422
|
loader: support global variables in CGo (#173)
Global variables (like functions) must be declared in the import "C" preamble and can then be used from Go.
|
2019-02-08 13:04:03 +01:00 |
|
Ayke van Laethem
|
6cacafb8dc
|
cgo: add package directory to header include paths
|
2018-12-10 15:38:03 +01:00 |
|
Ayke van Laethem
|
c6069476a7
|
cgo: do not rely on stdint.h to be available
|
2018-12-10 15:38:03 +01:00 |
|
Ayke van Laethem
|
0af7da9bff
|
cgo: add support for C.int, c.uint, etc
|
2018-12-10 15:38:02 +01:00 |
|
Ayke van Laethem
|
e8c1b5ab6e
|
cgo: add support for C typedefs
|
2018-12-10 15:38:02 +01:00 |
|
Ayke van Laethem
|
ecf6ffa62e
|
all: add bare-bones Cgo support
|
2018-12-10 15:38:02 +01:00 |
|