library/src/debugging/BP-DebugInfoQueue.cc
// gets the next debugInfo structure from the list
gets the next debugInfo structure from the list
gets the next debugInfo structure from the list
P_RDEBUG_INFO DebugQueueGet(P_BP_DEBUG_QUEUE queue){
	P_RDEBUG_INFO debugInfo;
	if(queue->next == NULL){
		return queue->debugInfo;
	} else {
		queue = queue->next;
		debugInfo = queue->prev->debugInfo;
		bpfree(queue->prev);
		queue->prev = NULL;
		return debugInfo;
	}
	return 0;
}
P_RDEBUG_INFO DebugQueueGet ( P_BP_DEBUG_QUEUE queue ) { P_RDEBUG_INFO debugInfo ; if ( queue -> next == NULL ) { return queue -> debugInfo ; } else { queue = queue -> next ; debugInfo = queue -> prev -> debugInfo ; bpfree ( queue -> prev ) ; queue -> prev = NULL ; return debugInfo ; } return 0 ; }
gets the next debugInfo structure from the list
gets the next debugInfo structure from the list