Use SDL_bool return type instead of int

Many functions returned an int to indicate their success. For clarity,
use SDL_bool instead.
This commit is contained in:
Romain Vimont
2017-12-15 11:27:11 +01:00
parent 2b44052f80
commit 37d88b8a6a
7 changed files with 27 additions and 27 deletions

View File

@@ -16,7 +16,7 @@ struct decoder {
SDL_bool skip_frames;
};
int decoder_start(struct decoder *decoder);
SDL_bool decoder_start(struct decoder *decoder);
void decoder_join(struct decoder *decoder);
#endif