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:
@@ -3,6 +3,6 @@
|
||||
|
||||
#include <SDL2/SDL.h>
|
||||
|
||||
int show_screen(const char *serial, Uint16 local_port);
|
||||
SDL_bool show_screen(const char *serial, Uint16 local_port);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user