1
0
mirror of https://github.com/golang/go synced 2024-09-29 14:14:29 -06:00
go/misc/cgo
Ian Lance Taylor 17360accab cmd/cgo: make the char * pointer in GoString const
This makes it more convenient for C code to use GoString with string
constants.  Since Go string values are immutable, the const qualifier is
appropriate in C.

Change-Id: I5fb3cdce2ce5079f1f0467a1544bb3a1eb27b811
Reviewed-on: https://go-review.googlesource.com/17067
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
2015-11-29 16:55:40 +00:00
..
errors cmd/cgo: handle another Clang DWARF quirk 2015-11-25 21:13:41 +00:00
gmp Fix several out of date references to 4g/5g/6g/8g/9g. 2015-06-26 03:38:21 +00:00
life
nocgo
stdio
test cmd/cgo: make the char * pointer in GoString const 2015-11-29 16:55:40 +00:00
testasan
testcarchive cmd/go: install headers for c-archive/c-shared cgo exports 2015-05-07 17:39:56 +00:00
testcshared cmd/go: buildmode=c-shared support for linux/arm64 2015-10-29 16:25:37 +00:00
testgodefs build: convert run.bash, run.bat, and run.rc into a Go program 2015-03-03 23:22:11 +00:00
testsanitizers cmd/cgo, runtime: exported Go functions can't return a Go pointer 2015-11-19 18:28:39 +00:00
testshared misc/cgo/testshared: add format specifier in Errorf calls 2015-11-21 10:19:16 +00:00
testsigfwd runtime: signal forwarding 2015-04-24 05:19:39 +00:00
testso cmd/dist: convert testso test into Go 2015-06-12 04:33:50 +00:00
testsovar misc/cgo/testsovar: needs the extern keyword to export variables on non-windows platforms 2015-07-21 18:10:57 +00:00
testtls