Beispiel #1
0
void CHistory::init(BOOL init_history)
{
	del_pages(0);
	ZeroMemory(m_pp_data, 256 * sizeof(LONG));  // put ** to zero and keep only allocated page has an HISTORY_ENTRY* value
	
	m_cursor_initial	= -1;
	m_cursor			= -1;
	m_length			= 0;
	m_page_amount		= 0;
}
Beispiel #2
0
stack::~stack() {
    reset();
    del_pages(m_curr_page);
    del_pages(m_free_pages);
}
Beispiel #3
0
region::~region() {
    del_pages(m_curr_page);
    del_pages(m_free_pages);
}
Beispiel #4
0
CHistory::~CHistory()
{
	del_pages(0);
	delete[] m_pp_data;
}