evolve4src/src/evolve_simulator/kforth_execute.cpp
static void kforth_stack_push(KFORTH_STACK_NODE **sp, KFORTH_STACK_NODE *node)
{
	ASSERT( sp != NULL );
	ASSERT( node != NULL );

	node->next = NULL;
	node->prev = *sp;

	if( *sp != NULL ) {
		ASSERT( (*sp)->next == NULL );
		(*sp)->next = node;
	}
	*sp = node;
}
/*
 * Push node onto 'sp'. sp is updated to point to the new top element.
 */
Push node onto 'sp'. sp is updated to point to the new top element.
Push node onto ' sp ' . sp is updated to point to the new top element .
static void kforth_stack_push(KFORTH_STACK_NODE **sp, KFORTH_STACK_NODE *node)
{
	ASSERT( sp != NULL );
	ASSERT( node != NULL );
	node->next = NULL;
	node->prev = *sp;
	if( *sp != NULL ) {
		ASSERT( (*sp)->next == NULL );
		(*sp)->next = node;
	}
	*sp = node;
}
static void kforth_stack_push ( KFORTH_STACK_NODE * * sp , KFORTH_STACK_NODE * node ) { ASSERT ( sp != NULL ) ; ASSERT ( node != NULL ) ; node -> next = NULL ; node -> prev = * sp ; if ( * sp != NULL ) { ASSERT ( ( * sp ) -> next == NULL ) ; ( * sp ) -> next = node ; } * sp = node ; }
Push node onto 'sp'.
Push node onto ' sp ' .