project_files/frontlib/model/gamesetup.c
changeset 7497 7e1d72fc03c7
parent 7482 d70a5b0d1190
child 10017 de822cd3df3a
equal deleted inserted replaced
7494:e65adfc99f15 7497:7e1d72fc03c7
    30 		flib_teamlist_destroy(gamesetup->teamlist);
    30 		flib_teamlist_destroy(gamesetup->teamlist);
    31 		free(gamesetup);
    31 		free(gamesetup);
    32 	}
    32 	}
    33 }
    33 }
    34 
    34 
    35 flib_gamesetup *flib_gamesetup_copy(flib_gamesetup *setup) {
    35 flib_gamesetup *flib_gamesetup_copy(const flib_gamesetup *setup) {
    36 	if(!setup) {
    36 	if(!setup) {
    37 		return NULL;
    37 		return NULL;
    38 	}
    38 	}
    39 
    39 
    40 	flib_gamesetup *result = flib_calloc(1, sizeof(flib_gamesetup));
    40 	flib_gamesetup *result = flib_calloc(1, sizeof(flib_gamesetup));