Hello rsc@golang.org, mikioh.mikioh@gmail.com, golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 6 months ago
(2012-01-20 11:52:56 UTC)
#1
On Fri, Jan 20, 2012 at 10:52 PM, <iant@golang.org> wrote: > Can one of the ...
13 years, 6 months ago
(2012-01-20 15:26:04 UTC)
#3
On Fri, Jan 20, 2012 at 10:52 PM, <iant@golang.org> wrote:
> Can one of the existing cgo tests be extended to test this case as well?
>
AFAIK, currently there is no test for 'cgo -cdefs'.
(The reason I think is that 'cgo -cdefs' is only for bootstrap of package
runtime,
e.g., internal use only. IMHO, It probably should not even be mentioned in
'cgo -help',
although the current help text for -cdefs is already:
> -cdefs=false: for bootstrap: write C definitions for C file to standard
> output
>
).
On Fri, Jan 20, 2012 at 10:52 PM, <iant@golang.org> wrote: > Can one of the ...
13 years, 6 months ago
(2012-01-20 15:53:05 UTC)
#4
On Fri, Jan 20, 2012 at 10:52 PM, <iant@golang.org> wrote:
> Can one of the existing cgo tests be extended to test this case as well?
>
Of course, if necessary, I could write a new test just for 'cgo -cdefs'.
But, how about 'cgo -godefs' (it doesn't have any tests too, AFAIK)?
minux <minux.ma@gmail.com> writes: > On Fri, Jan 20, 2012 at 10:52 PM, <iant@golang.org> wrote: > ...
13 years, 6 months ago
(2012-01-20 16:20:51 UTC)
#5
minux <minux.ma@gmail.com> writes:
> On Fri, Jan 20, 2012 at 10:52 PM, <iant@golang.org> wrote:
>
>> Can one of the existing cgo tests be extended to test this case as well?
>>
> AFAIK, currently there is no test for 'cgo -cdefs'.
> (The reason I think is that 'cgo -cdefs' is only for bootstrap of package
> runtime,
> e.g., internal use only. IMHO, It probably should not even be mentioned in
> 'cgo -help',
> although the current help text for -cdefs is already:
Ah, no worries, then.
Ian
Issue 5557068: code review 5557068: cgo: -cdefs should translate unsafe.Pointer to void *
(Closed)
Created 13 years, 6 months ago by minux1
Modified 13 years, 5 months ago
Reviewers:
Base URL:
Comments: 0