evolve4src/src/evolve_simulator/evolve_io_ascii.cpp
static void write_keylist(FILE *fp, UNIVERSE *u)
{
	KEYLIST *keylist;
	KEYLIST_ITEM *curr;
	int i;

	ASSERT( fp != NULL );
	ASSERT( u != NULL );

	keylist = u->keylist;

	for(i=0; i < KEYLIST_HASH_TABLE_SIZE; i++) {
		if( keylist->table[i] == NULL )
			continue;

		for(curr=keylist->table[i]; curr; curr=curr->next) {
			fprintf(fp, "KEYLIST \"%s\" \"%s\"\n", curr->key, curr->value);
		}
	}

}
/*
 * Write out the keylist Each key/value pair
 * produced one of these records.
 */
Write out the keylist Each key/value pair
produced one of these records.
Write out the keylist Each key / value pair produced one of these records .
static void write_keylist(FILE *fp, UNIVERSE *u)
{
	KEYLIST *keylist;
	KEYLIST_ITEM *curr;
	int i;
	ASSERT( fp != NULL );
	ASSERT( u != NULL );
	keylist = u->keylist;
	for(i=0; i < KEYLIST_HASH_TABLE_SIZE; i++) {
		if( keylist->table[i] == NULL )
			continue;
		for(curr=keylist->table[i]; curr; curr=curr->next) {
			fprintf(fp, "KEYLIST \"%s\" \"%s\"\n", curr->key, curr->value);
		}
	}
}
static void write_keylist ( FILE * fp , UNIVERSE * u ) { KEYLIST * keylist ; KEYLIST_ITEM * curr ; int i ; ASSERT ( fp != NULL ) ; ASSERT ( u != NULL ) ; keylist = u -> keylist ; for ( i = 0 ; i < KEYLIST_HASH_TABLE_SIZE ; i ++ ) { if ( keylist -> table [ i ] == NULL ) continue ; for ( curr = keylist -> table [ i ] ; curr ; curr = curr -> next ) { fprintf ( fp , " \" \" \" \" \n " , curr -> key , curr -> value ) ; } } }
Write out the keylist Each key/value pair
 produced one of these records.
Write out the keylist Each key / value pair produced one of these records .