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
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 ...
> I don't know yet. Some syscall function prototypes will use them, some
> structures too. We could use uint32 and like instead. But it might
> simplify some future windows ports, like 64 bit windows (that I know
> nothing of).
>
> What do you think?
I don't mind HMODULE as much,
but DWORD should just be uint32.
And BOOL would be nice as bool,
but if it's really a uint32 then that's
not okay.
Maybe
type Bool uint32
type Module uint32
and leave the others out?
Russ
> I don't mind HMODULE as much,
> but DWORD should just be uint32.
> And BOOL would be nice as bool,
> but if it's really a uint32 then that's
> not okay.
>
> Maybe
>
> type Bool uint32
> type Module uint32
>
> and leave the others out?
>
I don't think it is that important at the moment.
I will make the changes and send you a new review.
Alex
On 2010/03/09 02:19:02, rsc wrote:
> LGTM
This doesn't apply cleanly because some of the
files you started with have changed formatting
slightly. Could you please run "hg sync" and
then "hg mail 218042" to upload new diffs against
the current head of the tree?
Thanks.
Issue 218042: code review 218042: syscall: minimal mingw version of syscall to call windo...
(Closed)
Created 15 years ago by brainman
Modified 14 years, 12 months ago
Reviewers:
Base URL:
Comments: 12