-
Notifications
You must be signed in to change notification settings - Fork 56
MTY_AppRun
chrisd1100 edited this page Aug 25, 2022
·
1 revision
Run the app and begin executing its MTY_AppFunc
and MTY_EventFunc
.
This function will block until your MTY_AppFunc
returns false
. It should be run on the main thread. Internally, it polls for messages from the OS, dispatches events to your MTY_EventFunc
, and performs internal state management for the MTY_App
object as a whole.
void MTY_AppRun(
MTY_App * ctx
);
ctx
(MTY_App *
)
The MTY_App
.