tinygo/cgo
Ayke van Laethem 5afb63df60 cgo: refactor
This is a large refactor of the cgo package. It should fix a number of
smaller problems and be a bit more strict (like upstream CGo): it for
example requires every Go file in a package to include the header files
it needs instead of piggybacking on imports in earlier files.

The main benefit is that it should be a bit more maintainable and easier
to add new features in the future (like static functions).

This breaks the tinygo.org/x/bluetooth package, which should be updated
before this change lands.
2022-05-06 17:22:22 +02:00
..
testdata cgo: refactor 2022-05-06 17:22:22 +02:00
cgo.go cgo: refactor 2022-05-06 17:22:22 +02:00
cgo_test.go loader: only add Clang header path for CGo 2022-02-12 15:33:06 +01:00
const.go cgo: implement prefix parsing 2021-05-21 17:54:13 +02:00
const_test.go cgo: implement prefix parsing 2021-05-21 17:54:13 +02:00
libclang.go cgo: refactor 2022-05-06 17:22:22 +02:00
libclang_config_llvm11.go Fix LLVM build constraints 2022-03-11 07:51:44 +01:00
libclang_config_llvm12.go Fix LLVM build constraints 2022-03-11 07:51:44 +01:00
libclang_config_llvm13.go all: update to LLVM 14 2022-04-23 08:45:46 +02:00
libclang_config_llvm14.go all: update to LLVM 14 2022-04-23 08:45:46 +02:00
libclang_stubs.c cgo: slightly improve error messages 2022-03-12 21:17:29 +01:00
security.go cgo: implement #cgo CFLAGS 2019-11-25 09:32:03 +01:00
security_test.go cgo: implement #cgo CFLAGS 2019-11-25 09:32:03 +01:00
sync.go cgo: refactor; support multiple cgo files in a single package 2019-05-12 10:49:15 +02:00