/* ** Adds the teams specified in the parser to the game. */ static void add_teams(game_t *gm, list_t *teams) { while (teams->l_size) { game_add_team(gm, list_get_front(teams)); list_pop_front(teams); } }
static void delete_actions(t_list *actions) { t_actions *action; while (!list_is_empty(actions)) { action = (t_actions *)list_get_front(actions); freetab(action->av); free(action); list_pop_front(&actions); } }
void *stack_get_top(Stack *self) { return list_get_front(self); }