From cad6d1fef5147d31e94ee83934c8609d3ad150b7 Mon Sep 17 00:00:00 2001
From: Elias Naur
Date: Mon, 21 Jan 2019 16:12:46 +0100
Subject: [PATCH] doc/go1.12.html: document rejection of mangled C names
Change-Id: I27ef49815f55a36379b730b77f7e9a4dd5341507
Reviewed-on: https://go-review.googlesource.com/c/158777
Run-TryBot: Elias Naur
TryBot-Result: Gobot Gobot
Reviewed-by: Ian Lance Taylor
---
doc/go1.12.html | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/doc/go1.12.html b/doc/go1.12.html
index 0a998c06e01ae..dddf44b520a52 100644
--- a/doc/go1.12.html
+++ b/doc/go1.12.html
@@ -139,6 +139,12 @@ Cgo
for more information.
+
+ Mangled C names are no longer accepted in packages that use Cgo. Use the Cgo
+ names instead. For example, use the documented cgo name C.char
+ rather than the mangled name _Ctype_char
that cgo generates.
+
+
Modules