mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-05 09:00:54 +00:00
evil
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@73 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -142,6 +142,8 @@ int MwPending(MwWidget handle) {
|
||||
|
||||
void MwLoop(MwWidget handle) {
|
||||
while(!handle->close) {
|
||||
setjmp(handle->before_step);
|
||||
|
||||
MwStep(handle);
|
||||
|
||||
MwDispatchUserHandler(handle, MwNtickHandler, NULL);
|
||||
@@ -273,3 +275,7 @@ void MwDispatchError(int code, const char* message) {
|
||||
exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
jmp_buf MwGetBeforeStep(MwWidget handle) {
|
||||
return handle->before_step;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user