summaryrefslogtreecommitdiff
path: root/Doc/Manual/Go.html
diff options
context:
space:
mode:
authorOlly Betts <olly@survex.com>2022-03-16 09:41:11 +1300
committerOlly Betts <olly@survex.com>2022-03-16 18:30:05 +1300
commit2da3815f998a3488995fec5d1a7583da395ac2fa (patch)
treed9db0312a7074c08cbe6e3bb4094cafc5ddc0d99 /Doc/Manual/Go.html
parent0c0b93f8e06f362bae5b732460f8aeb9752b1f0c (diff)
downloadswig-2da3815f998a3488995fec5d1a7583da395ac2fa.tar.gz
[Go] Make -intgosize optional
We no longer support Go < 1.2 so we can default intgo to ptrdiff_t and uintgo to size_t. Fixes #683 Fixes #2233
Diffstat (limited to 'Doc/Manual/Go.html')
-rw-r--r--Doc/Manual/Go.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/Manual/Go.html b/Doc/Manual/Go.html
index cbe93a35e..5501010cf 100644
--- a/Doc/Manual/Go.html
+++ b/Doc/Manual/Go.html
@@ -178,10 +178,10 @@ swig -go -help
<td>-intgosize &lt;s&gt;</td>
<td>Set the size for the Go type <tt>int</tt>. This controls the size
that the C/C++ code expects to see. The &lt;s&gt; argument should
- be 32 or 64. This option is currently required during the
+ be 32 or 64. This option was required during the
transition from Go 1.0 to Go 1.1, as the size of <tt>int</tt> on
- 64-bit x86 systems changes between those releases (from 32 bits to
- 64 bits). In the future the option may become optional, and SWIG
+ 64-bit x86 systems changed between those releases (from 32 bits to
+ 64 bits). It was made optional in SWIG 4.1.0 and if not specified SWIG
will assume that the size of <tt>int</tt> is the size of a C
pointer.</td>
</tr>