[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
This commit is contained in:
parent
0c0b93f8e0
commit
2da3815f99
5 changed files with 9 additions and 27 deletions
|
|
@ -24,6 +24,7 @@ static void* Swig_malloc(int c) {
|
|||
%}
|
||||
|
||||
%insert(cgo_comment_typedefs) %{
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
%}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue