1
0
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:
Jan Ziak 2012-10-06 13:56:12 +08:00 committed by Shenghou Ma
parent ed0c5dd11f
commit 16bea49ede

View File

@ -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");