Fixed Go compiler errors in the new Windows code; round 1.
This commit is contained in:
parent
70e45bef57
commit
501b6a3a34
|
@ -13,7 +13,7 @@ import "C"
|
||||||
|
|
||||||
//export xpanic
|
//export xpanic
|
||||||
func xpanic(msg *C.char, lasterr C.DWORD) {
|
func xpanic(msg *C.char, lasterr C.DWORD) {
|
||||||
panic(fmt.Errorf("%s: %s", C.GoString(msg), syscall.Errno(lasterr))
|
panic(fmt.Errorf("%s: %s", C.GoString(msg), syscall.Errno(lasterr)))
|
||||||
}
|
}
|
||||||
|
|
||||||
//export xmissedmsg
|
//export xmissedmsg
|
||||||
|
|
Loading…
Reference in New Issue