1
0
mirror of https://github.com/golang/go synced 2024-11-22 18:04:48 -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) {
case TINT:
Bprint(&outbuf, "int");
Bprint(&outbuf, "int32");
break;
case TUINT:
Bprint(&outbuf, "uint");
Bprint(&outbuf, "uint32");
break;
case TCHAR:
Bprint(&outbuf, "int8");