tinygo/testdata/cgo
Ayke van Laethem 636a151ffe cgo: add support for C.float and C.double
They are not necessary in TinyGo because they always map to float32 and
float64, but it's a good idea to add them regardless for compatibility
with existing software.

(Now I think about it, perhaps it would have been better to require
explicit casts here just in case we want to support some really weird C
system, but then again we even force 64-bit double on AVR even though
avr-gcc defaults to 32-bit double).
2022-10-13 17:13:12 +02:00
..
extra.go cgo: implement support for static functions 2022-09-16 14:05:17 +02:00
main.c cgo: add support for C.CString and related functions 2021-11-24 21:09:29 +01:00
main.go cgo: add support for C.float and C.double 2022-10-13 17:13:12 +02:00
main.h cgo: add support for C.CString and related functions 2021-11-24 21:09:29 +01:00
out.txt cgo: add support for C.float and C.double 2022-10-13 17:13:12 +02:00