[Commits] SDL: emscripten: Fixed return type in event callback declaration.

libsdl.org revision control commits-owner at libsdl.org
Sat May 6 12:53:33 PDT 2017


details:   https://hg.libsdl.org/SDL/rev/111b5e23c6a3
changeset: 10989:111b5e23c6a3
user:      Philipp Wiesemann <philipp.wiesemann at arcor.de>
date:      Sat May 06 21:45:43 2017 +0200
description:
emscripten: Fixed return type in event callback declaration.

diffstat:

 src/video/emscripten/SDL_emscriptenevents.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (14 lines):

diff -r f4a26b4691cf -r 111b5e23c6a3 src/video/emscripten/SDL_emscriptenevents.h
--- a/src/video/emscripten/SDL_emscriptenevents.h	Fri May 05 05:10:30 2017 -0700
+++ b/src/video/emscripten/SDL_emscriptenevents.h	Sat May 06 21:45:43 2017 +0200
@@ -31,8 +31,9 @@
 extern void
 Emscripten_UnregisterEventHandlers(SDL_WindowData *data);
 
-extern int
+extern EM_BOOL
 Emscripten_HandleCanvasResize(int eventType, const void *reserved, void *userData);
+
 #endif /* _SDL_emscriptenevents_h */
 
 /* vi: set ts=4 sw=4 expandtab: */


More information about the commits mailing list