// header guard #ifndef _ba_me_hg_ #define _ba_me_hg_ #include #include #include enum AllocationType { WINDOW_ARRAY, PANEL_ARRAY, ITEM_ARRAY, GENERIC_ARRAY, WINDOW_TYPE, PANEL_TYPE, MENU_TYPE, GENERIC_TYPE }; struct allocation { AllocationType type; void *ptr; std::size_t size; }; void delete_all(std::vector *allocated); #endif