Debian Codegraph @

src/runtime/testdata/testprogcgo/windows/win.go

raw
1 package windows
2
3 /*
4 #include <windows.h>
5
6 DWORD agetthread() {
7 return GetCurrentThreadId();
8 }
9 */
10 import "C"
11
12 func GetThread() uint32 {
13 return uint32(C.agetthread())
14 }