LEFT | RIGHT |
(Both sides are equal) |
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 #include "runtime.h" | 5 #include "runtime.h" |
6 #include "os_GOOS.h" | 6 #include "os_GOOS.h" |
7 #include "cgocall.h" | 7 #include "cgocall.h" |
8 #include "textflag.h" | 8 #include "textflag.h" |
9 | 9 |
10 typedef struct HandleErr HandleErr; | 10 typedef struct HandleErr HandleErr; |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 USED(a12); | 157 USED(a12); |
158 USED(a13); | 158 USED(a13); |
159 USED(a14); | 159 USED(a14); |
160 USED(a15); | 160 USED(a15); |
161 c.fn = (void*)fn; | 161 c.fn = (void*)fn; |
162 c.n = nargs; | 162 c.n = nargs; |
163 c.args = &a1; | 163 c.args = &a1; |
164 runtime·cgocall_errno(runtime·asmstdcall, &c); | 164 runtime·cgocall_errno(runtime·asmstdcall, &c); |
165 return (SyscallErr){c.r1, c.r2, c.err}; | 165 return (SyscallErr){c.r1, c.r2, c.err}; |
166 } | 166 } |
LEFT | RIGHT |