Mercurial > repos > rhope
diff runtime/fixed_alloc.h @ 119:72c648bca43b
Improved memory debug output and fixed memory leak in Array
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 18 Oct 2010 00:50:18 -0400 |
parents | 43cc42df26cc |
children |
line wrap: on
line diff
--- a/runtime/fixed_alloc.h Fri Oct 15 00:55:02 2010 -0400 +++ b/runtime/fixed_alloc.h Mon Oct 18 00:50:18 2010 -0400 @@ -45,5 +45,7 @@ void ffree(void * ptr, size_t size, mem_manager * manager); void print_mem_info(mem_manager * manager); void print_live_object_types(mem_manager * manager); +void find_live_objects_oftype(mem_manager * manager, int32_t type_id, void ** output); +void get_live_object_counts(mem_manager * manager, int32_t * counts); #endif //FIXED_ALLOC_H_