mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cgo: add typedef for uintptr in generated headers
Fixes #1046. R=rsc, iant CC=golang-dev https://golang.org/cl/2102043
This commit is contained in:
parent
55986c1329
commit
e1b79b712c
1 changed files with 1 additions and 0 deletions
|
|
@ -631,6 +631,7 @@ typedef unsigned char uchar;
|
||||||
typedef unsigned short ushort;
|
typedef unsigned short ushort;
|
||||||
typedef long long int64;
|
typedef long long int64;
|
||||||
typedef unsigned long long uint64;
|
typedef unsigned long long uint64;
|
||||||
|
typedef __SIZE_TYPE__ uintptr;
|
||||||
|
|
||||||
typedef struct { char *p; int n; } GoString;
|
typedef struct { char *p; int n; } GoString;
|
||||||
typedef void *GoMap;
|
typedef void *GoMap;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue