Format main.go file

This commit is contained in:
Rafael Chicoli 2021-07-13 22:18:06 +02:00
parent 70a69d6ae3
commit 113ae75a50
1 changed files with 5 additions and 5 deletions

View File

@ -3,8 +3,8 @@
package ui
import (
"runtime"
"errors"
"runtime"
"sync"
"unsafe"
)
@ -52,9 +52,9 @@ func Quit() {
// These prevent the passing of Go functions into C land.
// TODO make an actual sparse list instead of this monotonic map thingy
var (
qmmap = make(map[uintptr]func())
qmmap = make(map[uintptr]func())
qmcurrent = uintptr(0)
qmlock sync.Mutex
qmlock sync.Mutex
)
// QueueMain queues f to be executed on the GUI thread when