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

Delta Between Two Patch Sets: src/pkg/runtime/defs_windows.go

Issue 8670044: code review 8670044: net: implement netpoll for windows (Closed)
Left Patch Set: Created 10 years, 11 months ago
Right Patch Set: diff -r 5ee81a14cdfe https://go.googlecode.com/hg/ Created 10 years, 8 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « src/pkg/net/sockopt_windows.go ('k') | src/pkg/runtime/defs_windows_386.h » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
1 // Copyright 2009 The Go Authors. All rights reserved. 1 // Copyright 2009 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style 2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file. 3 // license that can be found in the LICENSE file.
4 4
5 // +build ignore 5 // +build ignore
6 6
7 /* 7 /*
8 Input to cgo. 8 Input to cgo.
9 9
10 GOARCH=amd64 cgo -cdefs defs.go >amd64/defs.h 10 GOARCH=amd64 go tool cgo -cdefs defs_windows.go > defs_windows_amd64.h
11 GOARCH=386 cgo -cdefs defs.go >386/defs.h 11 GOARCH=386 go tool cgo -cdefs defs_windows.go > defs_windows_386.h
12 */ 12 */
13 13
14 package runtime 14 package runtime
15 15
16 /* 16 /*
17 #include <signal.h> 17 #include <signal.h>
18 #include <stdarg.h> 18 #include <stdarg.h>
19 #include <windef.h> 19 #include <windef.h>
20 #include <winbase.h> 20 #include <winbase.h>
21 #include <wincon.h> 21 #include <wincon.h>
(...skipping 28 matching lines...) Expand all
50 50
51 EXCEPTION_ACCESS_VIOLATION = C.STATUS_ACCESS_VIOLATION 51 EXCEPTION_ACCESS_VIOLATION = C.STATUS_ACCESS_VIOLATION
52 EXCEPTION_BREAKPOINT = C.STATUS_BREAKPOINT 52 EXCEPTION_BREAKPOINT = C.STATUS_BREAKPOINT
53 EXCEPTION_FLT_DENORMAL_OPERAND = C.STATUS_FLOAT_DENORMAL_OPERAND 53 EXCEPTION_FLT_DENORMAL_OPERAND = C.STATUS_FLOAT_DENORMAL_OPERAND
54 EXCEPTION_FLT_DIVIDE_BY_ZERO = C.STATUS_FLOAT_DIVIDE_BY_ZERO 54 EXCEPTION_FLT_DIVIDE_BY_ZERO = C.STATUS_FLOAT_DIVIDE_BY_ZERO
55 EXCEPTION_FLT_INEXACT_RESULT = C.STATUS_FLOAT_INEXACT_RESULT 55 EXCEPTION_FLT_INEXACT_RESULT = C.STATUS_FLOAT_INEXACT_RESULT
56 EXCEPTION_FLT_OVERFLOW = C.STATUS_FLOAT_OVERFLOW 56 EXCEPTION_FLT_OVERFLOW = C.STATUS_FLOAT_OVERFLOW
57 EXCEPTION_FLT_UNDERFLOW = C.STATUS_FLOAT_UNDERFLOW 57 EXCEPTION_FLT_UNDERFLOW = C.STATUS_FLOAT_UNDERFLOW
58 EXCEPTION_INT_DIVIDE_BY_ZERO = C.STATUS_INTEGER_DIVIDE_BY_ZERO 58 EXCEPTION_INT_DIVIDE_BY_ZERO = C.STATUS_INTEGER_DIVIDE_BY_ZERO
59 EXCEPTION_INT_OVERFLOW = C.STATUS_INTEGER_OVERFLOW 59 EXCEPTION_INT_OVERFLOW = C.STATUS_INTEGER_OVERFLOW
60
61 INFINITE = C.INFINITE
62 WAIT_TIMEOUT = C.WAIT_TIMEOUT
60 ) 63 )
61 64
62 type SystemInfo C.SYSTEM_INFO 65 type SystemInfo C.SYSTEM_INFO
63 type ExceptionRecord C.EXCEPTION_RECORD 66 type ExceptionRecord C.EXCEPTION_RECORD
64 type FloatingSaveArea C.FLOATING_SAVE_AREA 67 type FloatingSaveArea C.FLOATING_SAVE_AREA
65 type M128a C.M128A 68 type M128a C.M128A
66 type Context C.CONTEXT 69 type Context C.CONTEXT
70 type Overlapped C.OVERLAPPED
LEFTRIGHT

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