sdl.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*
  2. * GRUB -- GRand Unified Bootloader
  3. * Copyright (C) 2010 Free Software Foundation, Inc.
  4. *
  5. * GRUB is free software: you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published by
  7. * the Free Software Foundation, either version 3 of the License, or
  8. * (at your option) any later version.
  9. *
  10. * GRUB is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License
  16. * along with GRUB. If not, see <http://www.gnu.org/licenses/>.
  17. */
  18. #include <config-util.h>
  19. void EXPORT_FUNC (SDL_Quit) (void);
  20. void EXPORT_FUNC (SDL_Init) (void);
  21. void EXPORT_FUNC (SDL_GetError) (void);
  22. #ifdef HAVE_SDL2
  23. void EXPORT_FUNC (SDL_CreateWindow) (void);
  24. void EXPORT_FUNC (SDL_GetWindowSurface) (void);
  25. void EXPORT_FUNC (SDL_CreateRenderer) (void);
  26. void EXPORT_FUNC (SDL_CreateRGBSurface) (void);
  27. void EXPORT_FUNC (SDL_CreateTexture) (void);
  28. void EXPORT_FUNC (SDL_UpdateTexture) (void);
  29. void EXPORT_FUNC (SDL_SetPaletteColors) (void);
  30. void EXPORT_FUNC (SDL_RenderClear) (void);
  31. void EXPORT_FUNC (SDL_RenderCopy) (void);
  32. void EXPORT_FUNC (SDL_RenderPresent) (void);
  33. #else
  34. void EXPORT_FUNC (SDL_Flip) (void);
  35. void EXPORT_FUNC (SDL_SetColors) (void);
  36. void EXPORT_FUNC (SDL_SetVideoMode) (void);
  37. #endif