stack damage tracking
This commit is contained in:
parent
4f2a7fbf18
commit
30510ab69a
3 changed files with 77 additions and 16 deletions
1
ugui.c
1
ugui.c
|
|
@ -105,6 +105,7 @@ static ug_style_t style_cache = {0};
|
|||
} \
|
||||
|
||||
|
||||
// FIXME: is it really necessary to clear (memset) the stack
|
||||
#define RESET_STACK(S) \
|
||||
{ \
|
||||
memset(S.items, 0, S.idx*sizeof(*(S.items))); \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue