1
0
mirror of https://github.com/golang/go synced 2024-11-18 01:14:48 -07:00
go/misc/cgo
Hiroshi Ioka 89ff0b1b6b cmd/cgo: support floating point #define macros
Current code doesn't support floating point #define macros.
This CL compiles floats to a object file and retrive values from it.
That approach is the same work as we've already done for integers.

Updates #18720

Change-Id: I88b7ab174d0f73bda975cf90c5aeb797961fe034
Reviewed-on: https://go-review.googlesource.com/35511
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2017-04-07 21:09:44 +00:00
..
errors cmd/compile: print columns (not just lines) in error messages 2017-03-09 23:29:49 +00:00
fortran *.bash: always use the same string equality operator 2017-03-14 21:46:31 +00:00
gmp
life
nocgo
stdio
test cmd/cgo: support floating point #define macros 2017-04-07 21:09:44 +00:00
testasan
testcarchive misc/cgo/testcarchive: add missing header 2017-03-09 16:42:46 +00:00
testcshared cmd/link: make mach-o dwarf segment properly aligned 2017-03-30 12:29:18 +00:00
testgodefs
testplugin runtime: for plugins, don't add duplicate itabs 2017-01-17 22:37:19 +00:00
testsanitizers *.bash: always use the same string equality operator 2017-03-14 21:46:31 +00:00
testshared misc/cgo/testshared: remove unused flag.Parse() 2017-02-02 13:40:16 +00:00
testsigfwd
testso
testsovar
testtls