1.1 --- a/sourcepawn/compiler/sctracker.h Sun Oct 15 23:31:09 2006 +0000
1.2 +++ b/sourcepawn/compiler/sctracker.h Mon Oct 16 02:05:26 2006 +0000
1.3 @@ -31,16 +31,18 @@
1.4 void popstacklist();
1.5 int markstack(int type, int size);
1.6 /**
1.7 - * Generates code to free stack usage, but does not pop the list.
1.8 + * Generates code to free mem usage, but does not pop the list.
1.9 * This is used for code like dobreak()/docont()/doreturn().
1.10 * stop_id is the list at which to stop generating.
1.11 */
1.12 void genstackfree(int stop_id);
1.13 +void genheapfree(int stop_id);
1.14
1.15 /**
1.16 - * Resets the stack list by freeing everything
1.17 + * Resets a mem list by freeing everything
1.18 */
1.19 void resetstacklist();
1.20 +void resetheaplist();
1.21
1.22 extern memuse_list_t *heapusage;
1.23 extern memuse_list_t *stackusage;