mirror of
https://github.com/meekrosoft/fff
synced 2026-01-23 08:25:59 +01:00
Clear fff.call_history when calling FFF_RESET_HISTORY
This commit is contained in:
@@ -466,7 +466,11 @@ def define_fff_globals
|
||||
putd "FFF_END_EXTERN_C"
|
||||
}
|
||||
puts
|
||||
putd "#define FFF_RESET_HISTORY() fff.call_history_idx = 0;"
|
||||
putd_backslash "#define FFF_RESET_HISTORY()"
|
||||
indent {
|
||||
putd_backslash "fff.call_history_idx = 0;"
|
||||
putd "memset(fff.call_history, 0, sizeof(fff.call_history));"
|
||||
}
|
||||
puts
|
||||
putd_backslash "#define REGISTER_CALL(function)"
|
||||
indent {
|
||||
|
||||
Reference in New Issue
Block a user