Source file
src/runtime/cgo/cgo_windows.go
1
2
3
4
5
6
7 package cgo
8
9 import (
10 "internal/abi"
11 "unsafe"
12 )
13
14
15
16 var _cgo_SwitchToThread unsafe.Pointer
17
18 func cgoCallTrampoline()
19
20
21
22 func cgoCallTrampolinePC() unsafe.Pointer {
23 return unsafe.Pointer(abi.FuncPCABI0(cgoCallTrampoline))
24 }
25
26
27
28 func cgoYieldWaitRuntimeInit() {
29 asmcgocallNoG(uintptr(_cgo_SwitchToThread), 0, 0, 0, 0, 0, 0)
30 }
31
32
33 func cgoNotifyRuntimeInitDoneOS() {}
34
View as plain text