library/src/blockclass/BP-BlockClass.cc
// destroys the web result stack (if it exists)
destroys the web result stack (if it exists)
destroys the web result stack ( if it exists )
BP_ERROR_T Block::destroyWebResultStack()
{
	if(this->web_result_stack)
	{
		BP_DestroyLinkL(this->web_result_stack_data_allocator, BP_TRUE);
		this->web_result_stack = NULL;
	}
	this->web_result_id = 0;
	this->web_result_stack = NULL;
	this->web_result_stack_n = 0;
	this->web_result_stack_all_popped = 0;
	this->web_result_stack_current_index = 0;
	memset(&this->web_result_href, 0x00, sizeof(this->web_result_href));
	return ERR_SUCCESS;
}
BP_ERROR_T Block :: destroyWebResultStack ( ) { if ( this -> web_result_stack ) { BP_DestroyLinkL ( this -> web_result_stack_data_allocator , BP_TRUE ) ; this -> web_result_stack = NULL ; } this -> web_result_id = 0 ; this -> web_result_stack = NULL ; this -> web_result_stack_n = 0 ; this -> web_result_stack_all_popped = 0 ; this -> web_result_stack_current_index = 0 ; memset ( & this -> web_result_href , 0x00 , sizeof ( this -> web_result_href ) ) ; return ERR_SUCCESS ; }
destroys the web result stack (if it exists)
destroys the web result stack ( if it exists )
// destroy the pointer if it exists // destroy the result stack // set popped result id as zero // reset pointer and count // rest local href/id etc // return indicating success // never-fails.