Files
tinygo/compiler
Ayke van Laethem d2b3a5486c cgo: implement C unions
Unions are somewhat hard to implement in Go because they are not a
native type. But it is actually possible with some compiler magic.

This commit inserts a special "C union" field at the start of a struct
to indicate that it is a union. As such a field cannot be written
directly in Go, this is a useful to distinguish structs and unions.
2019-04-17 11:56:40 +02:00
..
2019-01-31 16:22:05 +01:00
2019-01-31 16:22:05 +01:00
2019-04-17 11:56:40 +02:00
2019-04-17 11:56:40 +02:00
2019-01-27 19:26:16 +01:00
2019-04-17 11:56:40 +02:00
2019-02-19 15:54:36 +01:00