1
0
mirror of https://github.com/meekrosoft/fff synced 2026-01-30 03:34:28 +01:00

Cleanup generator

This commit is contained in:
Mike Long
2012-05-29 07:57:11 +08:00
parent 3d6cfd218b
commit 7aee4ece7b
2 changed files with 13 additions and 66 deletions

2
fff3.h
View File

@@ -80,7 +80,9 @@ END_EXTERN_C \
EXTERN_C \
fff_globals_t fff; \
END_EXTERN_C
#define FFF_RESET_HISTORY() fff.call_history_idx = 0;
#define REGISTER_CALL(function) \
if(fff.call_history_idx < FFF_CALL_HISTORY_LEN) \
fff.call_history[fff.call_history_idx++] = (void *)function;