/project/jni/sdl-1.3/src/video/directfb/SDL_DirectFB_dyn.h

https://github.com/aichunyu/FFPlayer · C Header · 39 lines · 15 code · 4 blank · 20 comment · 0 complexity · 93702fe187f986baf7d4d582caf99a2a MD5 · raw file

  1. /*
  2. Simple DirectMedia Layer
  3. Copyright (C) 1997-2012 Sam Lantinga <slouken@libsdl.org>
  4. This software is provided 'as-is', without any express or implied
  5. warranty. In no event will the authors be held liable for any damages
  6. arising from the use of this software.
  7. Permission is granted to anyone to use this software for any purpose,
  8. including commercial applications, and to alter it and redistribute it
  9. freely, subject to the following restrictions:
  10. 1. The origin of this software must not be misrepresented; you must not
  11. claim that you wrote the original software. If you use this software
  12. in a product, an acknowledgment in the product documentation would be
  13. appreciated but is not required.
  14. 2. Altered source versions must be plainly marked as such, and must not be
  15. misrepresented as being the original software.
  16. 3. This notice may not be removed or altered from any source distribution.
  17. */
  18. #ifndef _SDL_DirectFB_dyn_h
  19. #define _SDL_DirectFB_dyn_h
  20. #define DFB_SYMS \
  21. DFB_SYM(DFBResult, DirectFBError, (const char *msg, DFBResult result), (msg, result), return) \
  22. DFB_SYM(DFBResult, DirectFBErrorFatal, (const char *msg, DFBResult result), (msg, result), return) \
  23. DFB_SYM(const char *, DirectFBErrorString, (DFBResult result), (result), return) \
  24. DFB_SYM(const char *, DirectFBUsageString, ( void ), (), return) \
  25. DFB_SYM(DFBResult, DirectFBInit, (int *argc, char *(*argv[]) ), (argc, argv), return) \
  26. DFB_SYM(DFBResult, DirectFBSetOption, (const char *name, const char *value), (name, value), return) \
  27. DFB_SYM(DFBResult, DirectFBCreate, (IDirectFB **interface), (interface), return) \
  28. DFB_SYM(const char *, DirectFBCheckVersion, (unsigned int required_major, unsigned int required_minor, unsigned int required_micro), \
  29. (required_major, required_minor, required_micro), return)
  30. int SDL_DirectFB_LoadLibrary(void);
  31. void SDL_DirectFB_UnLoadLibrary(void);
  32. #endif