Renaming of guard header names to quiet -Wreserved-id-macro

Patch contributed by Sylvain
This commit is contained in:
Sam Lantinga 2016-11-20 21:34:54 -08:00
parent abe9271065
commit 3615633571
117 changed files with 349 additions and 349 deletions

View file

@ -26,8 +26,8 @@
*/ */
#ifndef _SDL_H #ifndef SDL_h_
#define _SDL_H #define SDL_h_
#include "SDL_main.h" #include "SDL_main.h"
#include "SDL_stdinc.h" #include "SDL_stdinc.h"
@ -127,6 +127,6 @@ extern DECLSPEC void SDLCALL SDL_Quit(void);
#endif #endif
#include "close_code.h" #include "close_code.h"
#endif /* _SDL_H */ #endif /* SDL_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -19,8 +19,8 @@
3. This notice may not be removed or altered from any source distribution. 3. This notice may not be removed or altered from any source distribution.
*/ */
#ifndef _SDL_assert_h #ifndef SDL_assert_h_
#define _SDL_assert_h #define SDL_assert_h_
#include "SDL_config.h" #include "SDL_config.h"
@ -284,6 +284,6 @@ extern DECLSPEC void SDLCALL SDL_ResetAssertionReport(void);
#endif #endif
#include "close_code.h" #include "close_code.h"
#endif /* _SDL_assert_h */ #endif /* SDL_assert_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -56,8 +56,8 @@
* All of the atomic operations that modify memory are full memory barriers. * All of the atomic operations that modify memory are full memory barriers.
*/ */
#ifndef _SDL_atomic_h_ #ifndef SDL_atomic_h_
#define _SDL_atomic_h_ #define SDL_atomic_h_
#include "SDL_stdinc.h" #include "SDL_stdinc.h"
#include "SDL_platform.h" #include "SDL_platform.h"
@ -263,6 +263,6 @@ extern DECLSPEC void* SDLCALL SDL_AtomicGetPtr(void **a);
#include "close_code.h" #include "close_code.h"
#endif /* _SDL_atomic_h_ */ #endif /* SDL_atomic_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -25,8 +25,8 @@
* Access to the raw audio mixing buffer for the SDL library. * Access to the raw audio mixing buffer for the SDL library.
*/ */
#ifndef _SDL_audio_h #ifndef SDL_audio_h_
#define _SDL_audio_h #define SDL_audio_h_
#include "SDL_stdinc.h" #include "SDL_stdinc.h"
#include "SDL_error.h" #include "SDL_error.h"
@ -667,6 +667,6 @@ extern DECLSPEC void SDLCALL SDL_CloseAudioDevice(SDL_AudioDeviceID dev);
#endif #endif
#include "close_code.h" #include "close_code.h"
#endif /* _SDL_audio_h */ #endif /* SDL_audio_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -25,8 +25,8 @@
* Functions for fiddling with bits and bitmasks. * Functions for fiddling with bits and bitmasks.
*/ */
#ifndef _SDL_bits_h #ifndef SDL_bits_h_
#define _SDL_bits_h #define SDL_bits_h_
#include "SDL_stdinc.h" #include "SDL_stdinc.h"
@ -92,6 +92,6 @@ SDL_MostSignificantBitIndex32(Uint32 x)
#endif #endif
#include "close_code.h" #include "close_code.h"
#endif /* _SDL_bits_h */ #endif /* SDL_bits_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -25,8 +25,8 @@
* Header file declaring the SDL_BlendMode enumeration * Header file declaring the SDL_BlendMode enumeration
*/ */
#ifndef _SDL_blendmode_h #ifndef SDL_blendmode_h_
#define _SDL_blendmode_h #define SDL_blendmode_h_
#include "begin_code.h" #include "begin_code.h"
/* Set up for C function definitions, even when using C++ */ /* Set up for C function definitions, even when using C++ */
@ -58,6 +58,6 @@ typedef enum
#endif #endif
#include "close_code.h" #include "close_code.h"
#endif /* _SDL_blendmode_h */ #endif /* SDL_blendmode_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -25,8 +25,8 @@
* Include file for SDL clipboard handling * Include file for SDL clipboard handling
*/ */
#ifndef _SDL_clipboard_h #ifndef SDL_clipboard_h_
#define _SDL_clipboard_h #define SDL_clipboard_h_
#include "SDL_stdinc.h" #include "SDL_stdinc.h"
@ -66,6 +66,6 @@ extern DECLSPEC SDL_bool SDLCALL SDL_HasClipboardText(void);
#endif #endif
#include "close_code.h" #include "close_code.h"
#endif /* _SDL_clipboard_h */ #endif /* SDL_clipboard_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -19,8 +19,8 @@
3. This notice may not be removed or altered from any source distribution. 3. This notice may not be removed or altered from any source distribution.
*/ */
#ifndef _SDL_config_h #ifndef SDL_config_h_
#define _SDL_config_h #define SDL_config_h_
#include "SDL_platform.h" #include "SDL_platform.h"
@ -50,4 +50,4 @@
#error Wrong SDL_config.h, check your include path? #error Wrong SDL_config.h, check your include path?
#endif #endif
#endif /* _SDL_config_h */ #endif /* SDL_config_h_ */

View file

@ -19,8 +19,8 @@
3. This notice may not be removed or altered from any source distribution. 3. This notice may not be removed or altered from any source distribution.
*/ */
#ifndef _SDL_config_h #ifndef SDL_config_h_
#define _SDL_config_h #define SDL_config_h_
/** /**
* \file SDL_config.h.in * \file SDL_config.h.in
@ -419,4 +419,4 @@ typedef unsigned int uintptr_t;
# endif /* !_STDINT_H_ && !HAVE_STDINT_H */ # endif /* !_STDINT_H_ && !HAVE_STDINT_H */
#endif /* __WIN32__ */ #endif /* __WIN32__ */
#endif /* _SDL_config_h */ #endif /* SDL_config_h_ */

View file

@ -19,8 +19,8 @@
3. This notice may not be removed or altered from any source distribution. 3. This notice may not be removed or altered from any source distribution.
*/ */
#ifndef _SDL_config_h #ifndef SDL_config_h_
#define _SDL_config_h #define SDL_config_h_
/** /**
* \file SDL_config.h.in * \file SDL_config.h.in
@ -360,4 +360,4 @@
/* Enable ime support */ /* Enable ime support */
#undef SDL_USE_IME #undef SDL_USE_IME
#endif /* _SDL_config_h */ #endif /* SDL_config_h_ */

View file

@ -19,8 +19,8 @@
3. This notice may not be removed or altered from any source distribution. 3. This notice may not be removed or altered from any source distribution.
*/ */
#ifndef _SDL_config_android_h #ifndef SDL_config_android_h_
#define _SDL_config_android_h #define SDL_config_android_h_
#include "SDL_platform.h" #include "SDL_platform.h"
@ -145,4 +145,4 @@
/* Enable the filesystem driver */ /* Enable the filesystem driver */
#define SDL_FILESYSTEM_ANDROID 1 #define SDL_FILESYSTEM_ANDROID 1
#endif /* _SDL_config_android_h */ #endif /* SDL_config_android_h_ */

View file

@ -19,8 +19,8 @@
3. This notice may not be removed or altered from any source distribution. 3. This notice may not be removed or altered from any source distribution.
*/ */
#ifndef _SDL_config_iphoneos_h #ifndef SDL_config_iphoneos_h_
#define _SDL_config_iphoneos_h #define SDL_config_iphoneos_h_
#include "SDL_platform.h" #include "SDL_platform.h"
@ -155,4 +155,4 @@
/* enable filesystem support */ /* enable filesystem support */
#define SDL_FILESYSTEM_COCOA 1 #define SDL_FILESYSTEM_COCOA 1
#endif /* _SDL_config_iphoneos_h */ #endif /* SDL_config_iphoneos_h_ */

View file

@ -19,8 +19,8 @@
3. This notice may not be removed or altered from any source distribution. 3. This notice may not be removed or altered from any source distribution.
*/ */
#ifndef _SDL_config_macosx_h #ifndef SDL_config_macosx_h_
#define _SDL_config_macosx_h #define SDL_config_macosx_h_
#include "SDL_platform.h" #include "SDL_platform.h"
@ -185,4 +185,4 @@
#define SDL_ALTIVEC_BLITTERS 1 #define SDL_ALTIVEC_BLITTERS 1
#endif #endif
#endif /* _SDL_config_macosx_h */ #endif /* SDL_config_macosx_h_ */

View file

@ -19,8 +19,8 @@
3. This notice may not be removed or altered from any source distribution. 3. This notice may not be removed or altered from any source distribution.
*/ */
#ifndef _SDL_config_minimal_h #ifndef SDL_config_minimal_h_
#define _SDL_config_minimal_h #define SDL_config_minimal_h_
#include "SDL_platform.h" #include "SDL_platform.h"
@ -78,4 +78,4 @@ typedef unsigned long uintptr_t;
/* Enable the dummy filesystem driver (src/filesystem/dummy/\*.c) */ /* Enable the dummy filesystem driver (src/filesystem/dummy/\*.c) */
#define SDL_FILESYSTEM_DUMMY 1 #define SDL_FILESYSTEM_DUMMY 1
#endif /* _SDL_config_minimal_h */ #endif /* SDL_config_minimal_h_ */

View file

@ -19,8 +19,8 @@
3. This notice may not be removed or altered from any source distribution. 3. This notice may not be removed or altered from any source distribution.
*/ */
#ifndef _SDL_config_h #ifndef SDL_config_h_
#define _SDL_config_h #define SDL_config_h_
/* This is a set of defines to configure the SDL features */ /* This is a set of defines to configure the SDL features */
@ -124,4 +124,4 @@
#define SDL_VIDEO_RENDER_OGL_ES 1 #define SDL_VIDEO_RENDER_OGL_ES 1
#define SDL_VIDEO_OPENGL_ES 1 #define SDL_VIDEO_OPENGL_ES 1
#endif /* _SDL_config_h */ #endif /* SDL_config_h_ */

View file

@ -19,8 +19,8 @@
3. This notice may not be removed or altered from any source distribution. 3. This notice may not be removed or altered from any source distribution.
*/ */
#ifndef _SDL_config_psp_h #ifndef SDL_config_psp_h_
#define _SDL_config_psp_h #define SDL_config_psp_h_
#include "SDL_platform.h" #include "SDL_platform.h"
@ -140,4 +140,4 @@
#define SDL_LOADSO_DISABLED 1 #define SDL_LOADSO_DISABLED 1
#endif /* _SDL_config_psp_h */ #endif /* SDL_config_psp_h_ */

View file

@ -19,8 +19,8 @@
3. This notice may not be removed or altered from any source distribution. 3. This notice may not be removed or altered from any source distribution.
*/ */
#ifndef _SDL_config_windows_h #ifndef SDL_config_windows_h_
#define _SDL_config_windows_h #define SDL_config_windows_h_
#include "SDL_platform.h" #include "SDL_platform.h"
@ -218,4 +218,4 @@ typedef unsigned int uintptr_t;
#define SDL_ASSEMBLY_ROUTINES 1 #define SDL_ASSEMBLY_ROUTINES 1
#endif #endif
#endif /* _SDL_config_windows_h */ #endif /* SDL_config_windows_h_ */

View file

@ -19,8 +19,8 @@
3. This notice may not be removed or altered from any source distribution. 3. This notice may not be removed or altered from any source distribution.
*/ */
#ifndef _SDL_config_winrt_h #ifndef SDL_config_winrt_h_
#define _SDL_config_winrt_h #define SDL_config_winrt_h_
#include "SDL_platform.h" #include "SDL_platform.h"
@ -211,4 +211,4 @@ typedef unsigned int uintptr_t;
#define SDL_ASSEMBLY_ROUTINES 1 #define SDL_ASSEMBLY_ROUTINES 1
#endif #endif
#endif /* _SDL_config_winrt_h */ #endif /* SDL_config_winrt_h_ */

View file

@ -19,8 +19,8 @@
3. This notice may not be removed or altered from any source distribution. 3. This notice may not be removed or altered from any source distribution.
*/ */
#ifndef _SDL_config_h #ifndef SDL_config_h_
#define _SDL_config_h #define SDL_config_h_
/* This is a set of defines to configure the SDL features */ /* This is a set of defines to configure the SDL features */
@ -117,4 +117,4 @@
#define SDL_VIDEO_RENDER_OGL_ES 1 #define SDL_VIDEO_RENDER_OGL_ES 1
#define SDL_VIDEO_OPENGL_ES 1 #define SDL_VIDEO_OPENGL_ES 1
#endif /* _SDL_config_h */ #endif /* SDL_config_h_ */

View file

@ -25,8 +25,8 @@
* CPU feature detection for SDL. * CPU feature detection for SDL.
*/ */
#ifndef _SDL_cpuinfo_h #ifndef SDL_cpuinfo_h_
#define _SDL_cpuinfo_h #define SDL_cpuinfo_h_
#include "SDL_stdinc.h" #include "SDL_stdinc.h"
@ -161,6 +161,6 @@ extern DECLSPEC int SDLCALL SDL_GetSystemRAM(void);
#endif #endif
#include "close_code.h" #include "close_code.h"
#endif /* _SDL_cpuinfo_h */ #endif /* SDL_cpuinfo_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -25,8 +25,8 @@
* Functions for reading and writing endian-specific values * Functions for reading and writing endian-specific values
*/ */
#ifndef _SDL_endian_h #ifndef SDL_endian_h_
#define _SDL_endian_h #define SDL_endian_h_
#include "SDL_stdinc.h" #include "SDL_stdinc.h"
@ -234,6 +234,6 @@ SDL_SwapFloat(float x)
#endif #endif
#include "close_code.h" #include "close_code.h"
#endif /* _SDL_endian_h */ #endif /* SDL_endian_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -25,8 +25,8 @@
* Simple error message routines for SDL. * Simple error message routines for SDL.
*/ */
#ifndef _SDL_error_h #ifndef SDL_error_h_
#define _SDL_error_h #define SDL_error_h_
#include "SDL_stdinc.h" #include "SDL_stdinc.h"
@ -71,6 +71,6 @@ extern DECLSPEC int SDLCALL SDL_Error(SDL_errorcode code);
#endif #endif
#include "close_code.h" #include "close_code.h"
#endif /* _SDL_error_h */ #endif /* SDL_error_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -25,8 +25,8 @@
* Include file for SDL event handling. * Include file for SDL event handling.
*/ */
#ifndef _SDL_events_h #ifndef SDL_events_h_
#define _SDL_events_h #define SDL_events_h_
#include "SDL_stdinc.h" #include "SDL_stdinc.h"
#include "SDL_error.h" #include "SDL_error.h"
@ -749,6 +749,6 @@ extern DECLSPEC Uint32 SDLCALL SDL_RegisterEvents(int numevents);
#endif #endif
#include "close_code.h" #include "close_code.h"
#endif /* _SDL_events_h */ #endif /* SDL_events_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -25,8 +25,8 @@
* \brief Include file for filesystem SDL API functions * \brief Include file for filesystem SDL API functions
*/ */
#ifndef _SDL_filesystem_h #ifndef SDL_filesystem_h_
#define _SDL_filesystem_h #define SDL_filesystem_h_
#include "SDL_stdinc.h" #include "SDL_stdinc.h"
@ -131,6 +131,6 @@ extern DECLSPEC char *SDLCALL SDL_GetPrefPath(const char *org, const char *app);
#endif #endif
#include "close_code.h" #include "close_code.h"
#endif /* _SDL_filesystem_h */ #endif /* SDL_filesystem_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -25,8 +25,8 @@
* Include file for SDL game controller event handling * Include file for SDL game controller event handling
*/ */
#ifndef _SDL_gamecontroller_h #ifndef SDL_gamecontroller_h_
#define _SDL_gamecontroller_h #define SDL_gamecontroller_h_
#include "SDL_stdinc.h" #include "SDL_stdinc.h"
#include "SDL_error.h" #include "SDL_error.h"
@ -337,6 +337,6 @@ extern DECLSPEC void SDLCALL SDL_GameControllerClose(SDL_GameController *gamecon
#endif #endif
#include "close_code.h" #include "close_code.h"
#endif /* _SDL_gamecontroller_h */ #endif /* SDL_gamecontroller_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -25,8 +25,8 @@
* Include file for SDL gesture event handling. * Include file for SDL gesture event handling.
*/ */
#ifndef _SDL_gesture_h #ifndef SDL_gesture_h_
#define _SDL_gesture_h #define SDL_gesture_h_
#include "SDL_stdinc.h" #include "SDL_stdinc.h"
#include "SDL_error.h" #include "SDL_error.h"
@ -82,6 +82,6 @@ extern DECLSPEC int SDLCALL SDL_LoadDollarTemplates(SDL_TouchID touchId, SDL_RWo
#endif #endif
#include "close_code.h" #include "close_code.h"
#endif /* _SDL_gesture_h */ #endif /* SDL_gesture_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -104,8 +104,8 @@
* \endcode * \endcode
*/ */
#ifndef _SDL_haptic_h #ifndef SDL_h_aptic_h
#define _SDL_haptic_h #define SDL_h_aptic_h
#include "SDL_stdinc.h" #include "SDL_stdinc.h"
#include "SDL_error.h" #include "SDL_error.h"
@ -1218,6 +1218,6 @@ extern DECLSPEC int SDLCALL SDL_HapticRumbleStop(SDL_Haptic * haptic);
#endif #endif
#include "close_code.h" #include "close_code.h"
#endif /* _SDL_haptic_h */ #endif /* SDL_h_aptic_h */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -36,8 +36,8 @@
* to how they would like the library to work. * to how they would like the library to work.
*/ */
#ifndef _SDL_hints_h #ifndef SDL_h_ints_h
#define _SDL_hints_h #define SDL_h_ints_h
#include "SDL_stdinc.h" #include "SDL_stdinc.h"
@ -821,6 +821,6 @@ extern DECLSPEC void SDLCALL SDL_ClearHints(void);
#endif #endif
#include "close_code.h" #include "close_code.h"
#endif /* _SDL_hints_h */ #endif /* SDL_h_ints_h */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -36,8 +36,8 @@
* *
*/ */
#ifndef _SDL_joystick_h #ifndef SDL_joystick_h_
#define _SDL_joystick_h #define SDL_joystick_h_
#include "SDL_stdinc.h" #include "SDL_stdinc.h"
#include "SDL_error.h" #include "SDL_error.h"
@ -310,6 +310,6 @@ extern DECLSPEC SDL_JoystickPowerLevel SDLCALL SDL_JoystickCurrentPowerLevel(SDL
#endif #endif
#include "close_code.h" #include "close_code.h"
#endif /* _SDL_joystick_h */ #endif /* SDL_joystick_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -25,8 +25,8 @@
* Include file for SDL keyboard event handling * Include file for SDL keyboard event handling
*/ */
#ifndef _SDL_keyboard_h #ifndef SDL_keyboard_h_
#define _SDL_keyboard_h #define SDL_keyboard_h_
#include "SDL_stdinc.h" #include "SDL_stdinc.h"
#include "SDL_error.h" #include "SDL_error.h"
@ -212,6 +212,6 @@ extern DECLSPEC SDL_bool SDLCALL SDL_IsScreenKeyboardShown(SDL_Window *window);
#endif #endif
#include "close_code.h" #include "close_code.h"
#endif /* _SDL_keyboard_h */ #endif /* SDL_keyboard_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -25,8 +25,8 @@
* Defines constants which identify keyboard keys and modifiers. * Defines constants which identify keyboard keys and modifiers.
*/ */
#ifndef _SDL_keycode_h #ifndef SDL_keycode_h_
#define _SDL_keycode_h #define SDL_keycode_h_
#include "SDL_stdinc.h" #include "SDL_stdinc.h"
#include "SDL_scancode.h" #include "SDL_scancode.h"
@ -336,6 +336,6 @@ typedef enum
#define KMOD_ALT (KMOD_LALT|KMOD_RALT) #define KMOD_ALT (KMOD_LALT|KMOD_RALT)
#define KMOD_GUI (KMOD_LGUI|KMOD_RGUI) #define KMOD_GUI (KMOD_LGUI|KMOD_RGUI)
#endif /* _SDL_keycode_h */ #endif /* SDL_keycode_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -38,8 +38,8 @@
* the results you expect. :) * the results you expect. :)
*/ */
#ifndef _SDL_loadso_h #ifndef SDL_loadso_h_
#define _SDL_loadso_h #define SDL_loadso_h_
#include "SDL_stdinc.h" #include "SDL_stdinc.h"
#include "SDL_error.h" #include "SDL_error.h"
@ -76,6 +76,6 @@ extern DECLSPEC void SDLCALL SDL_UnloadObject(void *handle);
#endif #endif
#include "close_code.h" #include "close_code.h"
#endif /* _SDL_loadso_h */ #endif /* SDL_loadso_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -34,8 +34,8 @@
* Others: standard error output (stderr) * Others: standard error output (stderr)
*/ */
#ifndef _SDL_log_h #ifndef SDL_log_h_
#define _SDL_log_h #define SDL_log_h_
#include "SDL_stdinc.h" #include "SDL_stdinc.h"
@ -206,6 +206,6 @@ extern DECLSPEC void SDLCALL SDL_LogSetOutputFunction(SDL_LogOutputFunction call
#endif #endif
#include "close_code.h" #include "close_code.h"
#endif /* _SDL_log_h */ #endif /* SDL_log_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -19,8 +19,8 @@
3. This notice may not be removed or altered from any source distribution. 3. This notice may not be removed or altered from any source distribution.
*/ */
#ifndef _SDL_main_h #ifndef SDL_main_h_
#define _SDL_main_h #define SDL_main_h_
#include "SDL_stdinc.h" #include "SDL_stdinc.h"
@ -156,6 +156,6 @@ extern DECLSPEC int SDLCALL SDL_WinRTRunApp(int (*mainFunction)(int, char **), v
#endif #endif
#include "close_code.h" #include "close_code.h"
#endif /* _SDL_main_h */ #endif /* SDL_main_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -19,8 +19,8 @@
3. This notice may not be removed or altered from any source distribution. 3. This notice may not be removed or altered from any source distribution.
*/ */
#ifndef _SDL_messagebox_h #ifndef SDL_messagebox_h_
#define _SDL_messagebox_h #define SDL_messagebox_h_
#include "SDL_stdinc.h" #include "SDL_stdinc.h"
#include "SDL_video.h" /* For SDL_Window */ #include "SDL_video.h" /* For SDL_Window */
@ -139,6 +139,6 @@ extern DECLSPEC int SDLCALL SDL_ShowSimpleMessageBox(Uint32 flags, const char *t
#endif #endif
#include "close_code.h" #include "close_code.h"
#endif /* _SDL_messagebox_h */ #endif /* SDL_messagebox_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -25,8 +25,8 @@
* Include file for SDL mouse event handling. * Include file for SDL mouse event handling.
*/ */
#ifndef _SDL_mouse_h #ifndef SDL_mouse_h_
#define _SDL_mouse_h #define SDL_mouse_h_
#include "SDL_stdinc.h" #include "SDL_stdinc.h"
#include "SDL_error.h" #include "SDL_error.h"
@ -297,6 +297,6 @@ extern DECLSPEC int SDLCALL SDL_ShowCursor(int toggle);
#endif #endif
#include "close_code.h" #include "close_code.h"
#endif /* _SDL_mouse_h */ #endif /* SDL_mouse_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -19,8 +19,8 @@
3. This notice may not be removed or altered from any source distribution. 3. This notice may not be removed or altered from any source distribution.
*/ */
#ifndef _SDL_mutex_h #ifndef SDL_mutex_h_
#define _SDL_mutex_h #define SDL_mutex_h_
/** /**
* \file SDL_mutex.h * \file SDL_mutex.h
@ -246,6 +246,6 @@ extern DECLSPEC int SDLCALL SDL_CondWaitTimeout(SDL_cond * cond,
#endif #endif
#include "close_code.h" #include "close_code.h"
#endif /* _SDL_mutex_h */ #endif /* SDL_mutex_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -19,8 +19,8 @@
3. This notice may not be removed or altered from any source distribution. 3. This notice may not be removed or altered from any source distribution.
*/ */
#ifndef _SDLname_h_ #ifndef SDLname_h_
#define _SDLname_h_ #define SDLname_h_
#if defined(__STDC__) || defined(__cplusplus) #if defined(__STDC__) || defined(__cplusplus)
#define NeedFunctionPrototypes 1 #define NeedFunctionPrototypes 1
@ -28,6 +28,6 @@
#define SDL_NAME(X) SDL_##X #define SDL_NAME(X) SDL_##X
#endif /* _SDLname_h_ */ #endif /* SDLname_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -32,8 +32,8 @@
* version included in SDL_opengl.h. * version included in SDL_opengl.h.
*/ */
#ifndef _SDL_opengl_h #ifndef SDL_opengl_h_
#define _SDL_opengl_h #define SDL_opengl_h_
#include "SDL_config.h" #include "SDL_config.h"
@ -2171,6 +2171,6 @@ typedef void (APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (GLenum t
#endif /* !__IPHONEOS__ */ #endif /* !__IPHONEOS__ */
#endif /* _SDL_opengl_h */ #endif /* SDL_opengl_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -25,8 +25,8 @@
* Header for the enumerated pixel format definitions. * Header for the enumerated pixel format definitions.
*/ */
#ifndef _SDL_pixels_h #ifndef SDL_pixels_h_
#define _SDL_pixels_h #define SDL_pixels_h_
#include "SDL_stdinc.h" #include "SDL_stdinc.h"
#include "SDL_endian.h" #include "SDL_endian.h"
@ -463,6 +463,6 @@ extern DECLSPEC void SDLCALL SDL_CalculateGammaRamp(float gamma, Uint16 * ramp);
#endif #endif
#include "close_code.h" #include "close_code.h"
#endif /* _SDL_pixels_h */ #endif /* SDL_pixels_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -25,8 +25,8 @@
* Try to get a standard set of platform defines. * Try to get a standard set of platform defines.
*/ */
#ifndef _SDL_platform_h #ifndef SDL_platform_h_
#define _SDL_platform_h #define SDL_platform_h_
#if defined(_AIX) #if defined(_AIX)
#undef __AIX__ #undef __AIX__
@ -180,6 +180,6 @@ extern DECLSPEC const char * SDLCALL SDL_GetPlatform (void);
#endif #endif
#include "close_code.h" #include "close_code.h"
#endif /* _SDL_platform_h */ #endif /* SDL_platform_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -19,8 +19,8 @@
3. This notice may not be removed or altered from any source distribution. 3. This notice may not be removed or altered from any source distribution.
*/ */
#ifndef _SDL_power_h #ifndef SDL_power_h_
#define _SDL_power_h #define SDL_power_h_
/** /**
* \file SDL_power.h * \file SDL_power.h
@ -70,6 +70,6 @@ extern DECLSPEC SDL_PowerState SDLCALL SDL_GetPowerInfo(int *secs, int *pct);
#endif #endif
#include "close_code.h" #include "close_code.h"
#endif /* _SDL_power_h */ #endif /* SDL_power_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -25,8 +25,8 @@
* Include file for SDL quit event handling. * Include file for SDL quit event handling.
*/ */
#ifndef _SDL_quit_h #ifndef SDL_quit_h_
#define _SDL_quit_h #define SDL_quit_h_
#include "SDL_stdinc.h" #include "SDL_stdinc.h"
#include "SDL_error.h" #include "SDL_error.h"
@ -55,4 +55,4 @@
#define SDL_QuitRequested() \ #define SDL_QuitRequested() \
(SDL_PumpEvents(), (SDL_PeepEvents(NULL,0,SDL_PEEKEVENT,SDL_QUIT,SDL_QUIT) > 0)) (SDL_PumpEvents(), (SDL_PeepEvents(NULL,0,SDL_PEEKEVENT,SDL_QUIT,SDL_QUIT) > 0))
#endif /* _SDL_quit_h */ #endif /* SDL_quit_h_ */

View file

@ -25,8 +25,8 @@
* Header file for SDL_rect definition and management functions. * Header file for SDL_rect definition and management functions.
*/ */
#ifndef _SDL_rect_h #ifndef SDL_rect_h_
#define _SDL_rect_h #define SDL_rect_h_
#include "SDL_stdinc.h" #include "SDL_stdinc.h"
#include "SDL_error.h" #include "SDL_error.h"
@ -143,6 +143,6 @@ extern DECLSPEC SDL_bool SDLCALL SDL_IntersectRectAndLine(const SDL_Rect *
#endif #endif
#include "close_code.h" #include "close_code.h"
#endif /* _SDL_rect_h */ #endif /* SDL_rect_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -45,8 +45,8 @@
* See this bug for details: http://bugzilla.libsdl.org/show_bug.cgi?id=1995 * See this bug for details: http://bugzilla.libsdl.org/show_bug.cgi?id=1995
*/ */
#ifndef _SDL_render_h #ifndef SDL_render_h_
#define _SDL_render_h #define SDL_render_h_
#include "SDL_stdinc.h" #include "SDL_stdinc.h"
#include "SDL_rect.h" #include "SDL_rect.h"
@ -900,6 +900,6 @@ extern DECLSPEC int SDLCALL SDL_GL_UnbindTexture(SDL_Texture *texture);
#endif #endif
#include "close_code.h" #include "close_code.h"
#endif /* _SDL_render_h */ #endif /* SDL_render_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -26,8 +26,8 @@
* data streams. It can easily be extended to files, memory, etc. * data streams. It can easily be extended to files, memory, etc.
*/ */
#ifndef _SDL_rwops_h #ifndef SDL_rwops_h_
#define _SDL_rwops_h #define SDL_rwops_h_
#include "SDL_stdinc.h" #include "SDL_stdinc.h"
#include "SDL_error.h" #include "SDL_error.h"
@ -226,6 +226,6 @@ extern DECLSPEC size_t SDLCALL SDL_WriteBE64(SDL_RWops * dst, Uint64 value);
#endif #endif
#include "close_code.h" #include "close_code.h"
#endif /* _SDL_rwops_h */ #endif /* SDL_rwops_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -25,8 +25,8 @@
* Defines keyboard scancodes. * Defines keyboard scancodes.
*/ */
#ifndef _SDL_scancode_h #ifndef SDL_scancode_h_
#define _SDL_scancode_h #define SDL_scancode_h_
#include "SDL_stdinc.h" #include "SDL_stdinc.h"
@ -396,6 +396,6 @@ typedef enum
for array bounds */ for array bounds */
} SDL_Scancode; } SDL_Scancode;
#endif /* _SDL_scancode_h */ #endif /* SDL_scancode_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -19,8 +19,8 @@
3. This notice may not be removed or altered from any source distribution. 3. This notice may not be removed or altered from any source distribution.
*/ */
#ifndef _SDL_shape_h #ifndef SDL_shape_h_
#define _SDL_shape_h #define SDL_shape_h_
#include "SDL_stdinc.h" #include "SDL_stdinc.h"
#include "SDL_pixels.h" #include "SDL_pixels.h"
@ -140,4 +140,4 @@ extern DECLSPEC int SDLCALL SDL_GetShapedWindowMode(SDL_Window *window,SDL_Windo
#endif #endif
#include "close_code.h" #include "close_code.h"
#endif /* _SDL_shape_h */ #endif /* SDL_shape_h_ */

View file

@ -25,8 +25,8 @@
* This is a general header that includes C language support. * This is a general header that includes C language support.
*/ */
#ifndef _SDL_stdinc_h #ifndef SDL_stdinc_h_
#define _SDL_stdinc_h #define SDL_stdinc_h_
#include "SDL_config.h" #include "SDL_config.h"
@ -526,6 +526,6 @@ SDL_FORCE_INLINE void *SDL_memcpy4(SDL_OUT_BYTECAP(dwords*4) void *dst, SDL_IN_B
#endif #endif
#include "close_code.h" #include "close_code.h"
#endif /* _SDL_stdinc_h */ #endif /* SDL_stdinc_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -25,8 +25,8 @@
* Header file for ::SDL_Surface definition and management functions. * Header file for ::SDL_Surface definition and management functions.
*/ */
#ifndef _SDL_surface_h #ifndef SDL_surface_h_
#define _SDL_surface_h #define SDL_surface_h_
#include "SDL_stdinc.h" #include "SDL_stdinc.h"
#include "SDL_pixels.h" #include "SDL_pixels.h"
@ -508,6 +508,6 @@ extern DECLSPEC int SDLCALL SDL_LowerBlitScaled
#endif #endif
#include "close_code.h" #include "close_code.h"
#endif /* _SDL_surface_h */ #endif /* SDL_surface_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -25,8 +25,8 @@
* Include file for platform specific SDL API functions * Include file for platform specific SDL API functions
*/ */
#ifndef _SDL_system_h #ifndef SDL_system_h_
#define _SDL_system_h #define SDL_system_h_
#include "SDL_stdinc.h" #include "SDL_stdinc.h"
#include "SDL_keyboard.h" #include "SDL_keyboard.h"
@ -211,6 +211,6 @@ extern DECLSPEC const char * SDLCALL SDL_WinRTGetFSPathUTF8(SDL_WinRT_Path pathT
#endif #endif
#include "close_code.h" #include "close_code.h"
#endif /* _SDL_system_h */ #endif /* SDL_system_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -25,8 +25,8 @@
* Include file for SDL custom system window manager hooks. * Include file for SDL custom system window manager hooks.
*/ */
#ifndef _SDL_syswm_h #ifndef SDL_syswm_h_
#define _SDL_syswm_h #define SDL_syswm_h_
#include "SDL_stdinc.h" #include "SDL_stdinc.h"
#include "SDL_error.h" #include "SDL_error.h"
@ -317,6 +317,6 @@ extern DECLSPEC SDL_bool SDLCALL SDL_GetWindowWMInfo(SDL_Window * window,
#endif #endif
#include "close_code.h" #include "close_code.h"
#endif /* _SDL_syswm_h */ #endif /* SDL_syswm_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -27,8 +27,8 @@
* This code is a part of the SDL2_test library, not the main SDL library. * This code is a part of the SDL2_test library, not the main SDL library.
*/ */
#ifndef _SDL_test_h #ifndef SDL_test_h_
#define _SDL_test_h #define SDL_test_h_
#include "SDL.h" #include "SDL.h"
#include "SDL_test_common.h" #include "SDL_test_common.h"
@ -63,6 +63,6 @@ extern "C" {
#endif #endif
#include "close_code.h" #include "close_code.h"
#endif /* _SDL_test_h */ #endif /* SDL_test_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -33,8 +33,8 @@
* *
*/ */
#ifndef _SDL_test_assert_h #ifndef SDL_test_assert_h_
#define _SDL_test_assert_h #define SDL_test_assert_h_
#include "begin_code.h" #include "begin_code.h"
/* Set up for C function definitions, even when using C++ */ /* Set up for C function definitions, even when using C++ */
@ -100,6 +100,6 @@ int SDLTest_AssertSummaryToTestResult(void);
#endif #endif
#include "close_code.h" #include "close_code.h"
#endif /* _SDL_test_assert_h */ #endif /* SDL_test_assert_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -29,8 +29,8 @@
/* Ported from original test\common.h file. */ /* Ported from original test\common.h file. */
#ifndef _SDL_test_common_h #ifndef SDL_test_common_h_
#define _SDL_test_common_h #define SDL_test_common_h_
#include "SDL.h" #include "SDL.h"
@ -183,6 +183,6 @@ void SDLTest_CommonQuit(SDLTest_CommonState * state);
#endif #endif
#include "close_code.h" #include "close_code.h"
#endif /* _SDL_test_common_h */ #endif /* SDL_test_common_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -33,8 +33,8 @@
*/ */
#ifndef _SDL_test_compare_h #ifndef SDL_test_compare_h_
#define _SDL_test_compare_h #define SDL_test_compare_h_
#include "SDL.h" #include "SDL.h"
@ -64,6 +64,6 @@ int SDLTest_CompareSurfaces(SDL_Surface *surface, SDL_Surface *referenceSurface,
#endif #endif
#include "close_code.h" #include "close_code.h"
#endif /* _SDL_test_compare_h */ #endif /* SDL_test_compare_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -33,8 +33,8 @@
*/ */
#ifndef _SDL_test_crc32_h #ifndef SDL_test_crc32_h_
#define _SDL_test_crc32_h #define SDL_test_crc32_h_
#include "begin_code.h" #include "begin_code.h"
/* Set up for C function definitions, even when using C++ */ /* Set up for C function definitions, even when using C++ */
@ -119,6 +119,6 @@ int SDLTest_Crc32Done(SDLTest_Crc32Context * crcContext);
#endif #endif
#include "close_code.h" #include "close_code.h"
#endif /* _SDL_test_crc32_h */ #endif /* SDL_test_crc32_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -27,8 +27,8 @@
* This code is a part of the SDL2_test library, not the main SDL library. * This code is a part of the SDL2_test library, not the main SDL library.
*/ */
#ifndef _SDL_test_font_h #ifndef SDL_test_font_h_
#define _SDL_test_font_h #define SDL_test_font_h_
#include "begin_code.h" #include "begin_code.h"
/* Set up for C function definitions, even when using C++ */ /* Set up for C function definitions, even when using C++ */
@ -71,6 +71,6 @@ int SDLTest_DrawString( SDL_Renderer * renderer, int x, int y, const char *s );
#endif #endif
#include "close_code.h" #include "close_code.h"
#endif /* _SDL_test_font_h */ #endif /* SDL_test_font_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -33,8 +33,8 @@
*/ */
#ifndef _SDL_test_fuzzer_h #ifndef SDL_test_fuzzer_h_
#define _SDL_test_fuzzer_h #define SDL_test_fuzzer_h_
#include "begin_code.h" #include "begin_code.h"
/* Set up for C function definitions, even when using C++ */ /* Set up for C function definitions, even when using C++ */
@ -379,6 +379,6 @@ int SDLTest_GetFuzzerInvocationCount(void);
#endif #endif
#include "close_code.h" #include "close_code.h"
#endif /* _SDL_test_fuzzer_h */ #endif /* SDL_test_fuzzer_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -33,8 +33,8 @@
Based on original GSOC code by Markus Kauppila <markus.kauppila@gmail.com> Based on original GSOC code by Markus Kauppila <markus.kauppila@gmail.com>
*/ */
#ifndef _SDL_test_harness_h #ifndef SDL_test_h_arness_h
#define _SDL_test_harness_h #define SDL_test_h_arness_h
#include "begin_code.h" #include "begin_code.h"
/* Set up for C function definitions, even when using C++ */ /* Set up for C function definitions, even when using C++ */
@ -129,6 +129,6 @@ int SDLTest_RunSuites(SDLTest_TestSuiteReference *testSuites[], const char *user
#endif #endif
#include "close_code.h" #include "close_code.h"
#endif /* _SDL_test_harness_h */ #endif /* SDL_test_h_arness_h */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -33,8 +33,8 @@
*/ */
#ifndef _SDL_test_images_h #ifndef SDL_test_images_h_
#define _SDL_test_images_h #define SDL_test_images_h_
#include "SDL.h" #include "SDL.h"
@ -73,6 +73,6 @@ SDL_Surface *SDLTest_ImagePrimitivesBlend(void);
#endif #endif
#include "close_code.h" #include "close_code.h"
#endif /* _SDL_test_images_h */ #endif /* SDL_test_images_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -33,8 +33,8 @@
* *
*/ */
#ifndef _SDL_test_log_h #ifndef SDL_test_log_h_
#define _SDL_test_log_h #define SDL_test_log_h_
#include "begin_code.h" #include "begin_code.h"
/* Set up for C function definitions, even when using C++ */ /* Set up for C function definitions, even when using C++ */
@ -62,6 +62,6 @@ void SDLTest_LogError(SDL_PRINTF_FORMAT_STRING const char *fmt, ...) SDL_PRINTF_
#endif #endif
#include "close_code.h" #include "close_code.h"
#endif /* _SDL_test_log_h */ #endif /* SDL_test_log_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -53,8 +53,8 @@
*********************************************************************** ***********************************************************************
*/ */
#ifndef _SDL_test_md5_h #ifndef SDL_test_md5_h_
#define _SDL_test_md5_h #define SDL_test_md5_h_
#include "begin_code.h" #include "begin_code.h"
/* Set up for C function definitions, even when using C++ */ /* Set up for C function definitions, even when using C++ */
@ -124,6 +124,6 @@ extern "C" {
#endif #endif
#include "close_code.h" #include "close_code.h"
#endif /* _SDL_test_md5_h */ #endif /* SDL_test_md5_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -37,8 +37,8 @@
*/ */
#ifndef _SDL_test_random_h #ifndef SDL_test_random_h_
#define _SDL_test_random_h #define SDL_test_random_h_
#include "begin_code.h" #include "begin_code.h"
/* Set up for C function definitions, even when using C++ */ /* Set up for C function definitions, even when using C++ */
@ -110,6 +110,6 @@ extern "C" {
#endif #endif
#include "close_code.h" #include "close_code.h"
#endif /* _SDL_test_random_h */ #endif /* SDL_test_random_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -19,8 +19,8 @@
3. This notice may not be removed or altered from any source distribution. 3. This notice may not be removed or altered from any source distribution.
*/ */
#ifndef _SDL_thread_h #ifndef SDL_thread_h_
#define _SDL_thread_h #define SDL_thread_h_
/** /**
* \file SDL_thread.h * \file SDL_thread.h
@ -282,6 +282,6 @@ extern DECLSPEC int SDLCALL SDL_TLSSet(SDL_TLSID id, const void *value, void (*d
#endif #endif
#include "close_code.h" #include "close_code.h"
#endif /* _SDL_thread_h */ #endif /* SDL_thread_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -19,8 +19,8 @@
3. This notice may not be removed or altered from any source distribution. 3. This notice may not be removed or altered from any source distribution.
*/ */
#ifndef _SDL_timer_h #ifndef SDL_timer_h_
#define _SDL_timer_h #define SDL_timer_h_
/** /**
* \file SDL_timer.h * \file SDL_timer.h
@ -110,6 +110,6 @@ extern DECLSPEC SDL_bool SDLCALL SDL_RemoveTimer(SDL_TimerID id);
#endif #endif
#include "close_code.h" #include "close_code.h"
#endif /* _SDL_timer_h */ #endif /* SDL_timer_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -25,8 +25,8 @@
* Include file for SDL touch event handling. * Include file for SDL touch event handling.
*/ */
#ifndef _SDL_touch_h #ifndef SDL_touch_h_
#define _SDL_touch_h #define SDL_touch_h_
#include "SDL_stdinc.h" #include "SDL_stdinc.h"
#include "SDL_error.h" #include "SDL_error.h"
@ -81,6 +81,6 @@ extern DECLSPEC SDL_Finger * SDLCALL SDL_GetTouchFinger(SDL_TouchID touchID, int
#endif #endif
#include "close_code.h" #include "close_code.h"
#endif /* _SDL_touch_h */ #endif /* SDL_touch_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -25,8 +25,8 @@
* This header defines the current SDL version. * This header defines the current SDL version.
*/ */
#ifndef _SDL_version_h #ifndef SDL_version_h_
#define _SDL_version_h #define SDL_version_h_
#include "SDL_stdinc.h" #include "SDL_stdinc.h"
@ -157,6 +157,6 @@ extern DECLSPEC int SDLCALL SDL_GetRevisionNumber(void);
#endif #endif
#include "close_code.h" #include "close_code.h"
#endif /* _SDL_version_h */ #endif /* SDL_version_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -25,8 +25,8 @@
* Header file for SDL video functions. * Header file for SDL video functions.
*/ */
#ifndef _SDL_video_h #ifndef SDL_video_h_
#define _SDL_video_h #define SDL_video_h_
#include "SDL_stdinc.h" #include "SDL_stdinc.h"
#include "SDL_pixels.h" #include "SDL_pixels.h"
@ -1213,6 +1213,6 @@ extern DECLSPEC void SDLCALL SDL_GL_DeleteContext(SDL_GLContext context);
#endif #endif
#include "close_code.h" #include "close_code.h"
#endif /* _SDL_video_h */ #endif /* SDL_video_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -24,8 +24,8 @@
error messages error messages
*/ */
#ifndef _SDL_error_c_h #ifndef SDL_error_c_h_
#define _SDL_error_c_h #define SDL_error_c_h_
#define ERR_MAX_STRLEN 128 #define ERR_MAX_STRLEN 128
#define ERR_MAX_ARGS 5 #define ERR_MAX_ARGS 5
@ -59,6 +59,6 @@ typedef struct SDL_error
/* Defined in SDL_thread.c */ /* Defined in SDL_thread.c */
extern SDL_error *SDL_GetErrBuf(void); extern SDL_error *SDL_GetErrBuf(void);
#endif /* _SDL_error_c_h */ #endif /* SDL_error_c_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -18,8 +18,8 @@
misrepresented as being the original software. misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution. 3. This notice may not be removed or altered from any source distribution.
*/ */
#ifndef _SDL_internal_h #ifndef SDL_internal_h_
#define _SDL_internal_h #define SDL_internal_h_
/* Many of SDL's features require _GNU_SOURCE on various platforms */ /* Many of SDL's features require _GNU_SOURCE on various platforms */
#ifndef _GNU_SOURCE #ifndef _GNU_SOURCE
@ -38,6 +38,6 @@
#include "SDL_config.h" #include "SDL_config.h"
#endif /* _SDL_internal_h */ #endif /* SDL_internal_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -20,8 +20,8 @@
*/ */
#include "../SDL_internal.h" #include "../SDL_internal.h"
#ifndef _SDL_sysaudio_h #ifndef SDL_sysaudio_h_
#define _SDL_sysaudio_h #define SDL_sysaudio_h_
#include "SDL_mutex.h" #include "SDL_mutex.h"
#include "SDL_thread.h" #include "SDL_thread.h"
@ -272,6 +272,6 @@ extern AudioBootStrap EMSCRIPTENAUDIO_bootstrap;
#endif /* _SDL_sysaudio_h */ #endif /* SDL_sysaudio_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -20,8 +20,8 @@
*/ */
#include "../../SDL_internal.h" #include "../../SDL_internal.h"
#ifndef _SDL_ALSA_audio_h #ifndef SDL_ALSA_audio_h_
#define _SDL_ALSA_audio_h #define SDL_ALSA_audio_h_
#include <alsa/asoundlib.h> #include <alsa/asoundlib.h>
@ -43,6 +43,6 @@ struct SDL_PrivateAudioData
void (*swizzle_func)(_THIS, void *buffer, Uint32 bufferlen); void (*swizzle_func)(_THIS, void *buffer, Uint32 bufferlen);
}; };
#endif /* _SDL_ALSA_audio_h */ #endif /* SDL_ALSA_audio_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -20,8 +20,8 @@
*/ */
#include "../../SDL_internal.h" #include "../../SDL_internal.h"
#ifndef _SDL_diskaudio_h #ifndef SDL_diskaudio_h_
#define _SDL_diskaudio_h #define SDL_diskaudio_h_
#include "SDL_rwops.h" #include "SDL_rwops.h"
#include "../SDL_sysaudio.h" #include "../SDL_sysaudio.h"
@ -37,5 +37,5 @@ struct SDL_PrivateAudioData
Uint8 *mixbuf; Uint8 *mixbuf;
}; };
#endif /* _SDL_diskaudio_h */ #endif /* SDL_diskaudio_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -20,8 +20,8 @@
*/ */
#include "../../SDL_internal.h" #include "../../SDL_internal.h"
#ifndef _SDL_dspaudio_h #ifndef SDL_dspaudio_h_
#define _SDL_dspaudio_h #define SDL_dspaudio_h_
#include "../SDL_sysaudio.h" #include "../SDL_sysaudio.h"
@ -39,5 +39,5 @@ struct SDL_PrivateAudioData
}; };
#define FUDGE_TICKS 10 /* The scheduler overhead ticks per frame */ #define FUDGE_TICKS 10 /* The scheduler overhead ticks per frame */
#endif /* _SDL_dspaudio_h */ #endif /* SDL_dspaudio_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -20,8 +20,8 @@
*/ */
#include "../../SDL_internal.h" #include "../../SDL_internal.h"
#ifndef _SDL_dummyaudio_h #ifndef SDL_dummyaudio_h_
#define _SDL_dummyaudio_h #define SDL_dummyaudio_h_
#include "../SDL_sysaudio.h" #include "../SDL_sysaudio.h"
@ -37,5 +37,5 @@ struct SDL_PrivateAudioData
Uint32 initial_calls; Uint32 initial_calls;
}; };
#endif /* _SDL_dummyaudio_h */ #endif /* SDL_dummyaudio_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -20,8 +20,8 @@
*/ */
#include "../../SDL_internal.h" #include "../../SDL_internal.h"
#ifndef _SDL_nasaudio_h #ifndef SDL_nasaudio_h_
#define _SDL_nasaudio_h #define SDL_nasaudio_h_
#ifdef __sgi #ifdef __sgi
#include <nas/audiolib.h> #include <nas/audiolib.h>
@ -51,6 +51,6 @@ struct SDL_PrivateAudioData
struct timeval last_tv; struct timeval last_tv;
int buf_free; int buf_free;
}; };
#endif /* _SDL_nasaudio_h */ #endif /* SDL_nasaudio_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -20,8 +20,8 @@
*/ */
#include "../../SDL_internal.h" #include "../../SDL_internal.h"
#ifndef _SDL_pulseaudio_h #ifndef SDL_pulseaudio_h_
#define _SDL_pulseaudio_h #define SDL_pulseaudio_h_
#include <pulse/simple.h> #include <pulse/simple.h>
@ -47,6 +47,6 @@ struct SDL_PrivateAudioData
int capturelen; int capturelen;
}; };
#endif /* _SDL_pulseaudio_h */ #endif /* SDL_pulseaudio_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -21,8 +21,8 @@
#include "../../SDL_internal.h" #include "../../SDL_internal.h"
#ifndef _SDL_dbus_h #ifndef SDL_dbus_h_
#define _SDL_dbus_h #define SDL_dbus_h_
#ifdef HAVE_DBUS_DBUS_H #ifdef HAVE_DBUS_DBUS_H
#define SDL_USE_LIBDBUS 1 #define SDL_USE_LIBDBUS 1
@ -77,6 +77,6 @@ extern SDL_bool SDL_DBus_ScreensaverInhibit(SDL_bool inhibit);
#endif /* HAVE_DBUS_DBUS_H */ #endif /* HAVE_DBUS_DBUS_H */
#endif /* _SDL_dbus_h */ #endif /* SDL_dbus_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -21,8 +21,8 @@
#include "../../SDL_internal.h" #include "../../SDL_internal.h"
#ifndef _SDL_evdev_h #ifndef SDL_evdev_h_
#define _SDL_evdev_h #define SDL_evdev_h_
#ifdef SDL_INPUT_LINUXEV #ifdef SDL_INPUT_LINUXEV
@ -34,6 +34,6 @@ extern void SDL_EVDEV_Poll(void);
#endif /* SDL_INPUT_LINUXEV */ #endif /* SDL_INPUT_LINUXEV */
#endif /* _SDL_evdev_h */ #endif /* SDL_evdev_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -19,8 +19,8 @@
3. This notice may not be removed or altered from any source distribution. 3. This notice may not be removed or altered from any source distribution.
*/ */
#ifndef _SDL_fcitx_h #ifndef SDL_fcitx_h_
#define _SDL_fcitx_h #define SDL_fcitx_h_
#include "../../SDL_internal.h" #include "../../SDL_internal.h"
@ -35,6 +35,6 @@ extern SDL_bool SDL_Fcitx_ProcessKeyEvent(Uint32 keysym, Uint32 keycode);
extern void SDL_Fcitx_UpdateTextRect(SDL_Rect *rect); extern void SDL_Fcitx_UpdateTextRect(SDL_Rect *rect);
extern void SDL_Fcitx_PumpEvents(); extern void SDL_Fcitx_PumpEvents();
#endif /* _SDL_fcitx_h */ #endif /* SDL_fcitx_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -21,8 +21,8 @@
#include "../../SDL_internal.h" #include "../../SDL_internal.h"
#ifndef _SDL_ibus_h #ifndef SDL_ibus_h_
#define _SDL_ibus_h #define SDL_ibus_h_
#ifdef HAVE_IBUS_IBUS_H #ifdef HAVE_IBUS_IBUS_H
#define SDL_USE_IBUS 1 #define SDL_USE_IBUS 1
@ -53,6 +53,6 @@ extern void SDL_IBus_PumpEvents();
#endif /* HAVE_IBUS_IBUS_H */ #endif /* HAVE_IBUS_IBUS_H */
#endif /* _SDL_ibus_h */ #endif /* SDL_ibus_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -19,8 +19,8 @@
3. This notice may not be removed or altered from any source distribution. 3. This notice may not be removed or altered from any source distribution.
*/ */
#ifndef _SDL_ime_h #ifndef SDL_ime_h_
#define _SDL_ime_h #define SDL_ime_h_
#include "../../SDL_internal.h" #include "../../SDL_internal.h"
@ -35,4 +35,4 @@ extern SDL_bool SDL_IME_ProcessKeyEvent(Uint32 keysym, Uint32 keycode);
extern void SDL_IME_UpdateTextRect(SDL_Rect *rect); extern void SDL_IME_UpdateTextRect(SDL_Rect *rect);
extern void SDL_IME_PumpEvents(void); extern void SDL_IME_PumpEvents(void);
#endif /* _SDL_ime_h */ #endif /* SDL_ime_h_ */

View file

@ -21,8 +21,8 @@
#include "../../SDL_internal.h" #include "../../SDL_internal.h"
#ifndef _SDL_udev_h #ifndef SDL_udev_h_
#define _SDL_udev_h #define SDL_udev_h_
#if HAVE_LIBUDEV_H #if HAVE_LIBUDEV_H
@ -116,4 +116,4 @@ extern void SDL_UDEV_DelCallback(SDL_UDEV_Callback cb);
#endif /* HAVE_LIBUDEV_H */ #endif /* HAVE_LIBUDEV_H */
#endif /* _SDL_udev_h */ #endif /* SDL_udev_h_ */

View file

@ -19,8 +19,8 @@
3. This notice may not be removed or altered from any source distribution. 3. This notice may not be removed or altered from any source distribution.
*/ */
#ifndef _SDL_dynapi_h #ifndef SDL_dynapi_h_
#define _SDL_dynapi_h #define SDL_dynapi_h_
/* IMPORTANT: /* IMPORTANT:
This is the master switch to disabling the dynamic API. We made it so you This is the master switch to disabling the dynamic API. We made it so you

View file

@ -20,11 +20,11 @@
*/ */
#include "../SDL_internal.h" #include "../SDL_internal.h"
#ifndef _SDL_clipboardevents_c_h #ifndef SDL_clipboardevents_c_h_
#define _SDL_clipboardevents_c_h #define SDL_clipboardevents_c_h_
extern int SDL_SendClipboardUpdate(void); extern int SDL_SendClipboardUpdate(void);
#endif /* _SDL_clipboardevents_c_h */ #endif /* SDL_clipboardevents_c_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -20,13 +20,13 @@
*/ */
#include "../SDL_internal.h" #include "../SDL_internal.h"
#ifndef _SDL_dropevents_c_h #ifndef SDL_dropevents_c_h_
#define _SDL_dropevents_c_h #define SDL_dropevents_c_h_
extern int SDL_SendDropFile(SDL_Window *window, const char *file); extern int SDL_SendDropFile(SDL_Window *window, const char *file);
extern int SDL_SendDropText(SDL_Window *window, const char *text); extern int SDL_SendDropText(SDL_Window *window, const char *text);
extern int SDL_SendDropComplete(SDL_Window *window); extern int SDL_SendDropComplete(SDL_Window *window);
#endif /* _SDL_dropevents_c_h */ #endif /* SDL_dropevents_c_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -20,8 +20,8 @@
*/ */
#include "../SDL_internal.h" #include "../SDL_internal.h"
#ifndef _SDL_gesture_c_h #ifndef SDL_gesture_c_h_
#define _SDL_gesture_c_h #define SDL_gesture_c_h_
extern int SDL_GestureAddTouch(SDL_TouchID touchId); extern int SDL_GestureAddTouch(SDL_TouchID touchId);
@ -29,6 +29,6 @@ extern void SDL_GestureProcessEvent(SDL_Event* event);
extern int SDL_RecordGesture(SDL_TouchID touchId); extern int SDL_RecordGesture(SDL_TouchID touchId);
#endif /* _SDL_gesture_c_h */ #endif /* SDL_gesture_c_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -20,8 +20,8 @@
*/ */
#include "../SDL_internal.h" #include "../SDL_internal.h"
#ifndef _SDL_keyboard_c_h #ifndef SDL_keyboard_c_h_
#define _SDL_keyboard_c_h #define SDL_keyboard_c_h_
#include "SDL_keycode.h" #include "SDL_keycode.h"
#include "SDL_events.h" #include "SDL_events.h"
@ -65,6 +65,6 @@ extern char *SDL_UCS4ToUTF8(Uint32 ch, char *dst);
/* Toggle on or off pieces of the keyboard mod state. */ /* Toggle on or off pieces of the keyboard mod state. */
extern void SDL_ToggleModState(const SDL_Keymod modstate, const SDL_bool toggle); extern void SDL_ToggleModState(const SDL_Keymod modstate, const SDL_bool toggle);
#endif /* _SDL_keyboard_c_h */ #endif /* SDL_keyboard_c_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -20,8 +20,8 @@
*/ */
#include "../SDL_internal.h" #include "../SDL_internal.h"
#ifndef _SDL_mouse_c_h #ifndef SDL_mouse_c_h_
#define _SDL_mouse_c_h #define SDL_mouse_c_h_
#include "SDL_mouse.h" #include "SDL_mouse.h"
@ -128,6 +128,6 @@ extern int SDL_SendMouseWheel(SDL_Window * window, SDL_MouseID mouseID, int x, i
/* Shutdown the mouse subsystem */ /* Shutdown the mouse subsystem */
extern void SDL_MouseQuit(void); extern void SDL_MouseQuit(void);
#endif /* _SDL_mouse_c_h */ #endif /* SDL_mouse_c_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -21,8 +21,8 @@
#include "../SDL_internal.h" #include "../SDL_internal.h"
#include "../../include/SDL_touch.h" #include "../../include/SDL_touch.h"
#ifndef _SDL_touch_c_h #ifndef SDL_touch_c_h_
#define _SDL_touch_c_h #define SDL_touch_c_h_
typedef struct SDL_Touch typedef struct SDL_Touch
{ {
@ -56,6 +56,6 @@ extern void SDL_DelTouch(SDL_TouchID id);
/* Shutdown the touch subsystem */ /* Shutdown the touch subsystem */
extern void SDL_TouchQuit(void); extern void SDL_TouchQuit(void);
#endif /* _SDL_touch_c_h */ #endif /* SDL_touch_c_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -20,12 +20,12 @@
*/ */
#include "../SDL_internal.h" #include "../SDL_internal.h"
#ifndef _SDL_windowevents_c_h #ifndef SDL_windowevents_c_h_
#define _SDL_windowevents_c_h #define SDL_windowevents_c_h_
extern int SDL_SendWindowEvent(SDL_Window * window, Uint8 windowevent, extern int SDL_SendWindowEvent(SDL_Window * window, Uint8 windowevent,
int data1, int data2); int data1, int data2);
#endif /* _SDL_windowevents_c_h */ #endif /* SDL_windowevents_c_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -21,8 +21,8 @@
#include "../SDL_internal.h" #include "../SDL_internal.h"
#ifndef _SDL_syshaptic_h #ifndef SDL_syshaptic_h_
#define _SDL_syshaptic_h #define SDL_syshaptic_h_
#include "SDL_haptic.h" #include "SDL_haptic.h"
@ -203,6 +203,6 @@ extern int SDL_SYS_HapticUnpause(SDL_Haptic * haptic);
*/ */
extern int SDL_SYS_HapticStopAll(SDL_Haptic * haptic); extern int SDL_SYS_HapticStopAll(SDL_Haptic * haptic);
#endif /* _SDL_syshaptic_h */ #endif /* SDL_syshaptic_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -20,8 +20,8 @@
*/ */
#include "../SDL_internal.h" #include "../SDL_internal.h"
#ifndef _SDL_sysjoystick_h #ifndef SDL_sysjoystick_h_
#define _SDL_sysjoystick_h #define SDL_sysjoystick_h_
/* This is the system specific header for the SDL joystick API */ /* This is the system specific header for the SDL joystick API */
@ -114,6 +114,6 @@ extern SDL_JoystickGUID SDL_SYS_JoystickGetGUID(SDL_Joystick * joystick);
extern SDL_bool SDL_SYS_IsXInputGamepad_DeviceIndex(int device_index); extern SDL_bool SDL_SYS_IsXInputGamepad_DeviceIndex(int device_index);
#endif #endif
#endif /* _SDL_sysjoystick_h */ #endif /* SDL_sysjoystick_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -22,8 +22,8 @@
/* These are functions that need to be implemented by a port of SDL */ /* These are functions that need to be implemented by a port of SDL */
#ifndef _SDL_syspower_h #ifndef SDL_syspower_h_
#define _SDL_syspower_h #define SDL_syspower_h_
#include "SDL_power.h" #include "SDL_power.h"
@ -63,6 +63,6 @@ SDL_bool SDL_GetPowerInfo_Hardwired(SDL_PowerState *, int *, int *);
#endif #endif
#endif #endif
#endif /* _SDL_syspower_h */ #endif /* SDL_syspower_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -20,8 +20,8 @@
*/ */
#include "../SDL_internal.h" #include "../SDL_internal.h"
#ifndef _SDL_sysrender_h #ifndef SDL_sysrender_h_
#define _SDL_sysrender_h #define SDL_sysrender_h_
#include "SDL_render.h" #include "SDL_render.h"
#include "SDL_events.h" #include "SDL_events.h"
@ -200,6 +200,6 @@ extern SDL_RenderDriver SW_RenderDriver;
#endif /* !SDL_RENDER_DISABLED */ #endif /* !SDL_RENDER_DISABLED */
#endif /* _SDL_sysrender_h */ #endif /* SDL_sysrender_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -22,8 +22,8 @@
/* These are functions that need to be implemented by a port of SDL */ /* These are functions that need to be implemented by a port of SDL */
#ifndef _SDL_systhread_h #ifndef SDL_systhread_h_
#define _SDL_systhread_h #define SDL_systhread_h_
#include "SDL_thread.h" #include "SDL_thread.h"
#include "SDL_thread_c.h" #include "SDL_thread_c.h"
@ -65,6 +65,6 @@ extern SDL_Thread *
SDL_CreateThreadInternal(int (SDLCALL * fn) (void *), const char *name, SDL_CreateThreadInternal(int (SDLCALL * fn) (void *), const char *name,
const size_t stacksize, void *data); const size_t stacksize, void *data);
#endif /* _SDL_systhread_h */ #endif /* SDL_systhread_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -20,8 +20,8 @@
*/ */
#include "../SDL_internal.h" #include "../SDL_internal.h"
#ifndef _SDL_thread_c_h #ifndef SDL_thread_c_h_
#define _SDL_thread_c_h #define SDL_thread_c_h_
#include "SDL_thread.h" #include "SDL_thread.h"
@ -90,6 +90,6 @@ extern SDL_TLSData *SDL_Generic_GetTLSData(void);
*/ */
extern int SDL_Generic_SetTLSData(SDL_TLSData *data); extern int SDL_Generic_SetTLSData(SDL_TLSData *data);
#endif /* _SDL_thread_c_h */ #endif /* SDL_thread_c_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -20,13 +20,13 @@
*/ */
#include "../../SDL_internal.h" #include "../../SDL_internal.h"
#ifndef _SDL_mutex_c_h #ifndef SDL_mutex_c_h_
#define _SDL_mutex_c_h #define SDL_mutex_c_h_
struct SDL_mutex struct SDL_mutex
{ {
pthread_mutex_t id; pthread_mutex_t id;
}; };
#endif /* _SDL_mutex_c_h */ #endif /* SDL_mutex_c_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -20,8 +20,8 @@
*/ */
#include "../SDL_internal.h" #include "../SDL_internal.h"
#ifndef _SDL_blit_h #ifndef SDL_blit_h_
#define _SDL_blit_h #define SDL_blit_h_
#include "SDL_cpuinfo.h" #include "SDL_cpuinfo.h"
#include "SDL_endian.h" #include "SDL_endian.h"
@ -547,6 +547,6 @@ do { \
#pragma warning(disable: 4550) #pragma warning(disable: 4550)
#endif #endif
#endif /* _SDL_blit_h */ #endif /* SDL_blit_h_ */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

Some files were not shown because too many files have changed in this diff Show more