diff options
author | Tomasz Kramkowski <tk@the-tk.com> | 2021-02-11 12:15:12 +0000 |
---|---|---|
committer | Tomasz Kramkowski <tk@the-tk.com> | 2021-02-11 14:25:14 +0000 |
commit | bb97e8aaa15217afe1f3fcdc93662ab03b8ae9d9 (patch) | |
tree | 64fa5b5ba419e72bc6acaddadbc51c73646295fa /sdl.h | |
download | luiml-bb97e8aaa15217afe1f3fcdc93662ab03b8ae9d9.tar.gz luiml-bb97e8aaa15217afe1f3fcdc93662ab03b8ae9d9.tar.xz luiml-bb97e8aaa15217afe1f3fcdc93662ab03b8ae9d9.zip |
init commit
Diffstat (limited to 'sdl.h')
-rw-r--r-- | sdl.h | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -0,0 +1,14 @@ +#ifndef SDL_H +#define SDL_H + +#include <SDL.h> +#include <lua.h> + +int sdl_error(lua_State *L, const char *what); +void acquire_sdl(void); +void release_sdl(void); +const char *strbutton(Uint8 button); +const char *strscancode(SDL_Scancode s); +const char *strsym(SDL_Keycode k); + +#endif /* !SDL_H */ |