1 2 3 4 5 6 7 8 9 10 11 12 13 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 */