char *build_test_cmd(struct world_list *wl)
{
	char *cmd = build_initial_cmd();

	while (wl) {
		cmd = add_world(cmd, wl->world);
		wl = wl->next;
	}

	return cmd;
}
Exemplo n.º 2
0
World *rna_Main_worlds_new(Main *UNUSED(bmain), const char *name)
{
	World *world = add_world(name);
	id_us_min(&world->id);
	return world;
}