summaryrefslogtreecommitdiffstats
path: root/include/wrapsdl2.hpp
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2019-01-22 15:34:56 +0100
committerNao Pross <naopross@thearcway.org>2019-01-22 15:34:56 +0100
commit2914d264ded33d236f0dbd78f899b0003d3b9d52 (patch)
tree1553c3ac770d8662233a0bd9d4516bde5b764fb7 /include/wrapsdl2.hpp
parentUpdate .gitignore (diff)
downloadlibwsdl2-2914d264ded33d236f0dbd78f899b0003d3b9d52.tar.gz
libwsdl2-2914d264ded33d236f0dbd78f899b0003d3b9d52.zip
Rename library from libwrapsdl2 to libwsdl2
Diffstat (limited to 'include/wrapsdl2.hpp')
-rw-r--r--include/wrapsdl2.hpp23
1 files changed, 0 insertions, 23 deletions
diff --git a/include/wrapsdl2.hpp b/include/wrapsdl2.hpp
deleted file mode 100644
index 2f28890..0000000
--- a/include/wrapsdl2.hpp
+++ /dev/null
@@ -1,23 +0,0 @@
-#pragma once
-
-extern "C" {
-#include <SDL2/SDL.h>
-}
-
-namespace wrapsdl2 {
- bool initialize(void);
- void quit(void);
-
- namespace util {
- constexpr inline bool sdl_bool(SDL_bool b) {
- return b == SDL_TRUE;
- }
-
- constexpr inline SDL_bool sdl_bool(bool b) {
- return (b) ? SDL_TRUE : SDL_FALSE;
- }
- }
-
- // tool functions
- void delay(unsigned ms);
-} \ No newline at end of file