From 5a2c8133001f0d289bfe0434d6dfb47ef1c58879 Mon Sep 17 00:00:00 2001 From: Vraiment Date: Sun, 23 Jul 2017 01:25:16 -0700 Subject: [PATCH] Export EventWait functions --- SDL2pp/EventWait.hh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/SDL2pp/EventWait.hh b/SDL2pp/EventWait.hh index dc55bd0..c8a3e42 100644 --- a/SDL2pp/EventWait.hh +++ b/SDL2pp/EventWait.hh @@ -24,6 +24,7 @@ #include +#include #include namespace SDL2pp { @@ -46,7 +47,7 @@ namespace SDL2pp { /// \see https://wiki.libsdl.org/SDL_WaitEvent /// //////////////////////////////////////////////////////////// - SDL_Event WaitEvent(); + SDL2PP_EXPORT SDL_Event WaitEvent(); //////////////////////////////////////////////////////////// /// \brief Waits a given amount of time for an event @@ -69,7 +70,7 @@ namespace SDL2pp { /// \see https://wiki.libsdl.org/SDL_WaitEvent /// //////////////////////////////////////////////////////////// - Optional WaitEvent(int timeout); + SDL2PP_EXPORT Optional WaitEvent(int timeout); } }