mirror of
https://github.com/golang/go
synced 2024-11-26 14:08:37 -07:00
cmd/cc: map C int to int32 in Go defs
R=golang-dev, minux.ma, rsc CC=golang-dev https://golang.org/cl/6621052
This commit is contained in:
parent
ed0c5dd11f
commit
16bea49ede
@ -188,10 +188,10 @@ printtypename(Type *t)
|
|||||||
|
|
||||||
switch(t->etype) {
|
switch(t->etype) {
|
||||||
case TINT:
|
case TINT:
|
||||||
Bprint(&outbuf, "int");
|
Bprint(&outbuf, "int32");
|
||||||
break;
|
break;
|
||||||
case TUINT:
|
case TUINT:
|
||||||
Bprint(&outbuf, "uint");
|
Bprint(&outbuf, "uint32");
|
||||||
break;
|
break;
|
||||||
case TCHAR:
|
case TCHAR:
|
||||||
Bprint(&outbuf, "int8");
|
Bprint(&outbuf, "int8");
|
||||||
|
Loading…
Reference in New Issue
Block a user