evolve4src/src/evolve_simulator/phascii.cpp
static DLIST *dlist_new(void *p)
{
	DLIST *newp;

	newp = (DLIST *) malloc( sizeof(DLIST) );

	if( newp == NULL) {
		return NULL;
	}

	newp->p = p;
	newp->prev = NULL;
	newp->next = NULL;
	return newp;
}
/**********************************************************************
 * Creates an allocated DLIST structure.
 *
 */
Creates an allocated DLIST structure.
Creates an allocated DLIST structure .
static DLIST *dlist_new(void *p)
{
	DLIST *newp;
	newp = (DLIST *) malloc( sizeof(DLIST) );
	if( newp == NULL) {
		return NULL;
	}
	newp->p = p;
	newp->prev = NULL;
	newp->next = NULL;
	return newp;
}
static DLIST * dlist_new ( void * p ) { DLIST * newp ; newp = ( DLIST * ) malloc ( sizeof ( DLIST ) ) ; if ( newp == NULL ) { return NULL ; } newp -> p = p ; newp -> prev = NULL ; newp -> next = NULL ; return newp ; }
Creates an allocated DLIST structure.
Creates an allocated DLIST structure .