Added Uninit func to export C.uiUninit calls
This commit is contained in:
parent
113ae75a50
commit
9b1890e48a
5
main.go
5
main.go
|
@ -42,6 +42,11 @@ func Main(f func()) error {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Uninit calls C.uiUninit to uninitialize all allocated objects
|
||||||
|
func Uninit() {
|
||||||
|
C.uiUninit()
|
||||||
|
}
|
||||||
|
|
||||||
// Quit queues a return from Main. It does not exit the program.
|
// Quit queues a return from Main. It does not exit the program.
|
||||||
// It also does not immediately cause Main to return; Main will
|
// It also does not immediately cause Main to return; Main will
|
||||||
// return when it next can. Quit must be called from the GUI thread.
|
// return when it next can. Quit must be called from the GUI thread.
|
||||||
|
|
Loading…
Reference in New Issue