tinygo/cgo/testdata
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
..
basic.go cgo: add bare-bones test 2019-11-03 19:15:38 +01:00
basic.out.go cgo: avoid '"unsafe" imported but not used' error 2019-11-06 16:30:07 +01:00
types.go cgo: refactor union support 2019-11-07 21:39:29 +01:00
types.out.go cgo: refactor union support 2019-11-07 21:39:29 +01:00