Add SetMainLoop() function

This commit is contained in:
Milan Nikolic 2017-12-08 06:17:42 +01:00
parent 2bfca1f330
commit 1fec9fe2f0
4 changed files with 17 additions and 0 deletions

View file

@ -41,6 +41,10 @@ func SetCallbackFunc(callback func(unsafe.Pointer)) {
callbackHolder = callback
}
// SetMainLoop - Sets main loop function
func SetMainLoop(f func(), fps, simulateInfiniteLoop int) {
}
//export androidMain
func androidMain(app *C.struct_android_app) {
if callbackHolder != nil {