tinygo/testdata/cgo
Ayke van Laethem 6108ee6859 cgo: refactor union support
Instead of putting the magic in the AST, generate regular accessor
methods. This avoids a number of special cases in the compiler, and
avoids missing any of them.

The resulting union accesses are somewhat clunkier to use, but the
compiler implementation has far less coupling between the CGo
implementation and the IR generator.
2019-11-07 21:39:29 +01:00
..
extra.go cgo: refactor; support multiple cgo files in a single package 2019-05-12 10:49:15 +02:00
main.c cgo: add support for bitfields using generated getters and setters 2019-06-03 16:13:19 +02:00
main.go cgo: refactor union support 2019-11-07 21:39:29 +01:00
main.h cgo: add support for anonymous structs 2019-06-03 20:01:47 +02:00
out.txt cgo: add support for bitfields using generated getters and setters 2019-06-03 16:13:19 +02:00