Rev 1 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1 | Rev 8 | ||
|---|---|---|---|
| Line 1... | Line 1... | ||
| 1 | /* |
1 | /* |
| 2 | Simple DirectMedia Layer |
2 | Simple DirectMedia Layer |
| 3 | Copyright (C) 1997- |
3 | Copyright (C) 1997-2018 Sam Lantinga <slouken@libsdl.org> |
| 4 | 4 | ||
| 5 | This software is provided 'as-is', without any express or implied |
5 | This software is provided 'as-is', without any express or implied |
| 6 | warranty. In no event will the authors be held liable for any damages |
6 | warranty. In no event will the authors be held liable for any damages |
| 7 | arising from the use of this software. |
7 | arising from the use of this software. |
| 8 | 8 | ||
| Line 30... | Line 30... | ||
| 30 | 30 | ||
| 31 | #include "SDL_stdinc.h" |
31 | #include "SDL_stdinc.h" |
| 32 | #include "SDL_error.h" |
32 | #include "SDL_error.h" |
| 33 | #include "SDL_video.h" |
33 | #include "SDL_video.h" |
| 34 | #include "SDL_version.h" |
34 | #include "SDL_version.h" |
| 35 | - | ||
| 36 | #include "begin_code.h" |
- | |
| 37 | /* Set up for C function definitions, even when using C++ */ |
- | |
| 38 | #ifdef __cplusplus |
- | |
| 39 | extern "C" { |
- | |
| 40 | #endif |
- | |
| 41 | 35 | ||
| 42 | /** |
36 | /** |
| 43 | * \file SDL_syswm.h |
37 | * \file SDL_syswm.h |
| 44 | * |
38 | * |
| 45 | * Your application has access to a special type of event ::SDL_SYSWMEVENT, |
39 | * Your application has access to a special type of event ::SDL_SYSWMEVENT, |
| Line 106... | Line 100... | ||
| 106 | typedef void *EGLSurface; |
100 | typedef void *EGLSurface; |
| 107 | #endif |
101 | #endif |
| 108 | 102 | ||
| 109 | #if defined(SDL_VIDEO_DRIVER_VIVANTE) |
103 | #if defined(SDL_VIDEO_DRIVER_VIVANTE) |
| 110 | #include "SDL_egl.h" |
104 | #include "SDL_egl.h" |
| - | 105 | #endif |
|
| - | 106 | ||
| - | 107 | #include "begin_code.h" |
|
| - | 108 | /* Set up for C function definitions, even when using C++ */ |
|
| - | 109 | #ifdef __cplusplus |
|
| - | 110 | extern "C" { |
|
| 111 | #endif |
111 | #endif |
| 112 | 112 | ||
| 113 | /** |
113 | /** |
| 114 | * These are the various supported windowing subsystems |
114 | * These are the various supported windowing subsystems |
| 115 | */ |
115 | */ |