Format main.go file
This commit is contained in:
parent
70a69d6ae3
commit
113ae75a50
6
main.go
6
main.go
|
@ -3,8 +3,8 @@
|
||||||
package ui
|
package ui
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"runtime"
|
|
||||||
"errors"
|
"errors"
|
||||||
|
"runtime"
|
||||||
"sync"
|
"sync"
|
||||||
"unsafe"
|
"unsafe"
|
||||||
)
|
)
|
||||||
|
@ -52,9 +52,9 @@ func Quit() {
|
||||||
// These prevent the passing of Go functions into C land.
|
// These prevent the passing of Go functions into C land.
|
||||||
// TODO make an actual sparse list instead of this monotonic map thingy
|
// TODO make an actual sparse list instead of this monotonic map thingy
|
||||||
var (
|
var (
|
||||||
qmmap = make(map[uintptr]func())
|
qmmap = make(map[uintptr]func())
|
||||||
qmcurrent = uintptr(0)
|
qmcurrent = uintptr(0)
|
||||||
qmlock sync.Mutex
|
qmlock sync.Mutex
|
||||||
)
|
)
|
||||||
|
|
||||||
// QueueMain queues f to be executed on the GUI thread when
|
// QueueMain queues f to be executed on the GUI thread when
|
||||||
|
|
Loading…
Reference in New Issue