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

Issue 218042: code review 218042: syscall: minimal mingw version of syscall to call windo... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years ago by brainman
Modified:
14 years, 12 months ago
Reviewers:
CC:
rsc, golang-dev
Visibility:
Public.

Description

syscall: minimal mingw version of syscall to call windows dlls lots of missing parts, but builds and can call dlls, see a sample code in syscall_mingw.go

Patch Set 1 #

Patch Set 2 : code review 218042: syscall: minimal mingw version of syscall to call windo... #

Total comments: 12

Patch Set 3 : code review 218042: syscall: minimal mingw version of syscall to call windo... #

Patch Set 4 : code review 218042: syscall: minimal mingw version of syscall to call windo... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+198 lines, -1162 lines) Patch
M src/pkg/runtime/Makefile View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M src/pkg/runtime/mingw/os.h View 1 chunk +3 lines, -0 lines 0 comments Download
A src/pkg/runtime/mingw/syscall.cgo View 3 1 chunk +37 lines, -0 lines 0 comments Download
M src/pkg/runtime/mingw/thread.c View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M src/pkg/syscall/asm_mingw_386.s View 1 2 3 1 chunk +1 line, -132 lines 0 comments Download
M src/pkg/syscall/mkall.sh View 1 chunk +7 lines, -0 lines 0 comments Download
M src/pkg/syscall/syscall_mingw.go View 1 2 2 chunks +96 lines, -271 lines 0 comments Download
M src/pkg/syscall/syscall_mingw_386.go View 1 chunk +0 lines, -14 lines 0 comments Download
M src/pkg/syscall/zerrors_mingw_386.go View 1 2 3 1 chunk +4 lines, -235 lines 0 comments Download
M src/pkg/syscall/zsyscall_mingw_386.go View 1 2 3 2 chunks +28 lines, -204 lines 0 comments Download
M src/pkg/syscall/zsysnum_mingw_386.go View 1 chunk +9 lines, -55 lines 0 comments Download
M src/pkg/syscall/ztypes_mingw_386.go View 1 2 2 chunks +6 lines, -249 lines 0 comments Download

Messages

Total messages: 12
brainman
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change.
15 years ago (2010-02-22 00:20:57 UTC) #1
rsc
looks like a reasonable start, thanks. http://codereview.appspot.com/218042/diff/1001/1003 File src/pkg/runtime/mingw/syscall.go (right): http://codereview.appspot.com/218042/diff/1001/1003#newcode7 src/pkg/runtime/mingw/syscall.go:7: // dll helpers ...
15 years ago (2010-02-22 23:17:26 UTC) #2
brainman
http://codereview.appspot.com/218042/diff/1001/1003 File src/pkg/runtime/mingw/syscall.go (right): http://codereview.appspot.com/218042/diff/1001/1003#newcode7 src/pkg/runtime/mingw/syscall.go:7: // dll helpers Will get rid of that file ...
15 years ago (2010-02-23 05:23:04 UTC) #3
rsc
> I don't know yet. Some syscall function prototypes will use them, some > structures ...
15 years ago (2010-02-23 06:32:36 UTC) #4
brainman
> I don't mind HMODULE as much, > but DWORD should just be uint32. > ...
15 years ago (2010-02-23 06:36:44 UTC) #5
brainman
Hello rsc (cc: golang-dev@googlegroups.com), Please take another look.
15 years ago (2010-02-24 00:21:54 UTC) #6
brainman
On 2010/02/23 06:32:36, rsc wrote: > > and leave the others out? > Did you ...
15 years ago (2010-03-03 05:52:36 UTC) #7
rsc
> Did you have a chance to look at the latest code? Not yet. Still ...
15 years ago (2010-03-03 23:28:20 UTC) #8
rsc
LGTM
15 years ago (2010-03-09 02:19:02 UTC) #9
rsc
On 2010/03/09 02:19:02, rsc wrote: > LGTM This doesn't apply cleanly because some of the ...
15 years ago (2010-03-09 02:21:00 UTC) #10
brainman
Hello rsc (cc: golang-dev@googlegroups.com), Please take another look.
15 years ago (2010-03-09 02:24:31 UTC) #11
rsc
15 years ago (2010-03-09 23:09:12 UTC) #12
*** Submitted as http://code.google.com/p/go/source/detail?r=686f60fda473 ***

syscall: minimal mingw version of syscall to call windows dlls

lots of missing parts, but builds and can call dlls, see a sample code in
syscall_mingw.go

R=rsc
CC=golang-dev
http://codereview.appspot.com/218042

Committer: Russ Cox <rsc@golang.org>
Sign in to reply to this message.

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