Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(12)

Issue 9643044: code review 9643044: cmd/cgo: use intgo, not int, for string and slice structures (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 11 months ago by iant
Modified:
10 years, 11 months ago
Reviewers:
minux1
CC:
golang-dev, minux1
Visibility:
Public.

Description

cmd/cgo: use intgo, not int, for string and slice structures Fixes issue 5548.

Patch Set 1 #

Total comments: 8

Patch Set 2 : diff -r 656591eaf189 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 0a4f424db1e2 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -11 lines) Patch
M misc/cgo/test/cgo_test.go View 1 chunk +1 line, -0 lines 0 comments Download
A misc/cgo/test/issue5548.go View 1 chunk +26 lines, -0 lines 0 comments Download
A misc/cgo/test/issue5548_c.c View 1 chunk +24 lines, -0 lines 0 comments Download
M src/cmd/cgo/out.go View 1 5 chunks +20 lines, -11 lines 0 comments Download

Messages

Total messages: 5
iant
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
10 years, 11 months ago (2013-05-23 18:19:42 UTC) #1
minux1
i was thinking about the same clobber stack for tests, but my version couldn't reliably ...
10 years, 11 months ago (2013-05-23 18:41:36 UTC) #2
iant
Thanks for the comments. https://codereview.appspot.com/9643044/diff/1/src/cmd/cgo/out.go File src/cmd/cgo/out.go (left): https://codereview.appspot.com/9643044/diff/1/src/cmd/cgo/out.go#oldcode940 src/cmd/cgo/out.go:940: return &Type{Size: p.PtrSize + 8, ...
10 years, 11 months ago (2013-05-23 19:23:06 UTC) #3
minux1
LGTM.
10 years, 11 months ago (2013-05-23 19:24:40 UTC) #4
iant
10 years, 11 months ago (2013-05-24 05:51:15 UTC) #5
*** Submitted as https://code.google.com/p/go/source/detail?r=fa6f9cac3256 ***

cmd/cgo: use intgo, not int, for string and slice structures

Fixes issue 5548.

R=golang-dev, minux.ma
CC=golang-dev
https://codereview.appspot.com/9643044
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b