evil
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@73 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
b39742be52
commit
a65d77ae2d
4 changed files with 12 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue