tinygo/cgo/testdata
Ayke van Laethem 1789570f52 cgo: add //go: pragmas to generated functions and globals
This patch adds //go: pragmas directly to declared functions and
globals found during CGo processing. This simplifies the logic in the
compiler: it no longer has to consider special "C." prefixed function
names. It also makes the cgo pass more flexible in the pragmas it emits
for functions and global variables.
2021-11-24 21:09:29 +01:00
..
include cgo: make -I and -L paths absolute 2020-03-17 20:43:28 +01:00
basic.go cgo: add bare-bones test 2019-11-03 19:15:38 +01:00
basic.out.go cgo: run CGo parser for all CGo fragments in a file 2021-11-04 22:26:33 +01:00
const.go cgo: add support for symbols 2020-01-03 23:44:58 +01:00
const.out.go cgo: add support for symbols 2020-01-03 23:44:58 +01:00
errors.go cgo: run CGo parser for all CGo fragments in a file 2021-11-04 22:26:33 +01:00
errors.out.go cgo: run CGo parser for all CGo fragments in a file 2021-11-04 22:26:33 +01:00
flags.go cgo: Add LDFlags support 2020-05-21 00:57:19 +02:00
flags.out.go cgo: Add LDFlags support 2020-05-21 00:57:19 +02:00
symbols.go cgo: add //go: pragmas to generated functions and globals 2021-11-24 21:09:29 +01:00
symbols.out.go cgo: add //go: pragmas to generated functions and globals 2021-11-24 21:09:29 +01:00
types.go cgo: add //go: pragmas to generated functions and globals 2021-11-24 21:09:29 +01:00
types.out.go cgo: add //go: pragmas to generated functions and globals 2021-11-24 21:09:29 +01:00