mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-09 10:53:27 +00:00
fix
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@81 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -178,9 +178,9 @@ MWDECL void MwDispatchError(int code, const char* message);
|
|||||||
/*!
|
/*!
|
||||||
* %brief Gets the before_step of widget
|
* %brief Gets the before_step of widget
|
||||||
* %param handle Widget
|
* %param handle Widget
|
||||||
* %return jmp_buf
|
* %param jmpbuf jmp_buf
|
||||||
*/
|
*/
|
||||||
MWDECL jmp_buf MwGetBeforeStep(MwWidget handle);
|
MWDECL void MwGetBeforeStep(MwWidget handle, jmp_buf* jmpbuf);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -275,6 +275,6 @@ void MwDispatchError(int code, const char* message) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
jmp_buf MwGetBeforeStep(MwWidget handle) {
|
void MwGetBeforeStep(MwWidget handle, jmp_buf* jmpbuf) {
|
||||||
return handle->before_step;
|
memcpy(jmpbuf, &handle->before_step, sizeof(*jmpbuf));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user