tinygo/cgo
Crypt Keeper 725864d8dc
cgo: fixes panic when FuncType.Results is nil (#3136)
* cgo: fixes panic when FuncType.Results is nil

FuncType.Results can be nil. This fixes the comparison and backfills
relevant tests.

Signed-off-by: Adrian Cole <adrian@tetrate.io>
Co-authored-by: Ayke <aykevanlaethem@gmail.com>
2022-09-26 19:08:23 +02:00
..
testdata cgo: implement support for static functions 2022-09-16 14:05:17 +02:00
cgo.go cgo: fixes panic when FuncType.Results is nil (#3136) 2022-09-26 19:08:23 +02:00
cgo_test.go cgo: fixes panic when FuncType.Results is nil (#3136) 2022-09-26 19:08:23 +02: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: implement support for static functions 2022-09-16 14:05:17 +02:00
libclang_config_llvm14.go all: remove support for LLVM 13 2022-08-04 14:31:54 +02:00
libclang_stubs.c cgo: implement support for static functions 2022-09-16 14:05:17 +02: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