示例#1
0
文件: game.c 项目: ex/blocks
/* Free used resources */
void gameEnd(StcGame *game) {
    if (game->data != NULL) {
        free(game->data);
        game->data = NULL;
    }
    platformEnd(game);
}
示例#2
0
文件: gui_tetris.c 项目: pelrun/CHDK
void gameEnd(StcGame *game) {
    /* Free platform resources */
    platformEnd(game);
}