mirror of
https://github.com/libSDL2pp/libSDL2pp.git
synced 2025-08-03 19:05:59 -04:00
Export EventWait functions
This commit is contained in:
parent
7d3e54a29f
commit
5a2c813300
@ -24,6 +24,7 @@
|
||||
|
||||
#include <SDL_events.h>
|
||||
|
||||
#include <SDL2pp/Export.hh>
|
||||
#include <SDL2pp/Optional.hh>
|
||||
|
||||
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<SDL_Event> WaitEvent(int timeout);
|
||||
SDL2PP_EXPORT Optional<SDL_Event> WaitEvent(int timeout);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user