From 31976323474e6399fb9b62c15bd6b0b7bb49fbae Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Thu, 22 Dec 2022 11:38:59 -0500 Subject: [PATCH] include: Renamed begin_code.h and close_code.h to have SDL_ prefixes. Fixes #6864. --- VisualC-GDK/SDL/SDL.vcxproj | 4 +- VisualC-GDK/SDL/SDL.vcxproj.filters | 4 +- VisualC-WinRT/SDL-UWP.vcxproj | 4 +- VisualC-WinRT/SDL-UWP.vcxproj.filters | 4 +- VisualC/SDL/SDL.vcxproj | 4 +- VisualC/SDL/SDL.vcxproj.filters | 4 +- Xcode/SDL/SDL.xcodeproj/project.pbxproj | 40 +++++++++---------- docs/README-migration.md | 3 ++ include/SDL3/SDL_assert.h | 4 +- include/SDL3/SDL_atomic.h | 4 +- include/SDL3/SDL_audio.h | 4 +- .../SDL3/{begin_code.h => SDL_begin_code.h} | 10 ++--- include/SDL3/SDL_bits.h | 4 +- include/SDL3/SDL_blendmode.h | 4 +- include/SDL3/SDL_clipboard.h | 4 +- .../SDL3/{close_code.h => SDL_close_code.h} | 10 ++--- include/SDL3/SDL_cpuinfo.h | 4 +- include/SDL3/SDL_endian.h | 4 +- include/SDL3/SDL_error.h | 4 +- include/SDL3/SDL_events.h | 4 +- include/SDL3/SDL_filesystem.h | 4 +- include/SDL3/SDL_gamecontroller.h | 4 +- include/SDL3/SDL_guid.h | 4 +- include/SDL3/SDL_haptic.h | 4 +- include/SDL3/SDL_hidapi.h | 4 +- include/SDL3/SDL_hints.h | 4 +- include/SDL3/SDL_init.h | 4 +- include/SDL3/SDL_joystick.h | 4 +- include/SDL3/SDL_keyboard.h | 4 +- include/SDL3/SDL_loadso.h | 4 +- include/SDL3/SDL_locale.h | 4 +- include/SDL3/SDL_log.h | 4 +- include/SDL3/SDL_main.h | 4 +- include/SDL3/SDL_main_impl.h | 8 ++-- include/SDL3/SDL_messagebox.h | 4 +- include/SDL3/SDL_metal.h | 4 +- include/SDL3/SDL_misc.h | 4 +- include/SDL3/SDL_mouse.h | 4 +- include/SDL3/SDL_mutex.h | 4 +- include/SDL3/SDL_pixels.h | 4 +- include/SDL3/SDL_platform.h | 4 +- include/SDL3/SDL_power.h | 4 +- include/SDL3/SDL_rect.h | 4 +- include/SDL3/SDL_render.h | 4 +- include/SDL3/SDL_rwops.h | 4 +- include/SDL3/SDL_sensor.h | 4 +- include/SDL3/SDL_shape.h | 4 +- include/SDL3/SDL_stdinc.h | 4 +- include/SDL3/SDL_surface.h | 4 +- include/SDL3/SDL_system.h | 4 +- include/SDL3/SDL_syswm.h | 4 +- include/SDL3/SDL_test.h | 4 +- include/SDL3/SDL_test_assert.h | 4 +- include/SDL3/SDL_test_common.h | 4 +- include/SDL3/SDL_test_compare.h | 4 +- include/SDL3/SDL_test_crc32.h | 4 +- include/SDL3/SDL_test_font.h | 4 +- include/SDL3/SDL_test_fuzzer.h | 4 +- include/SDL3/SDL_test_harness.h | 4 +- include/SDL3/SDL_test_images.h | 4 +- include/SDL3/SDL_test_log.h | 4 +- include/SDL3/SDL_test_md5.h | 4 +- include/SDL3/SDL_test_memory.h | 4 +- include/SDL3/SDL_test_random.h | 4 +- include/SDL3/SDL_thread.h | 4 +- include/SDL3/SDL_timer.h | 4 +- include/SDL3/SDL_touch.h | 4 +- include/SDL3/SDL_version.h | 4 +- include/SDL3/SDL_video.h | 4 +- include/SDL3/SDL_vulkan.h | 4 +- 70 files changed, 167 insertions(+), 164 deletions(-) rename include/SDL3/{begin_code.h => SDL_begin_code.h} (96%) rename include/SDL3/{close_code.h => SDL_close_code.h} (85%) diff --git a/VisualC-GDK/SDL/SDL.vcxproj b/VisualC-GDK/SDL/SDL.vcxproj index b90fd808d..5db711b5c 100644 --- a/VisualC-GDK/SDL/SDL.vcxproj +++ b/VisualC-GDK/SDL/SDL.vcxproj @@ -288,8 +288,8 @@ - - + + diff --git a/VisualC-GDK/SDL/SDL.vcxproj.filters b/VisualC-GDK/SDL/SDL.vcxproj.filters index 710ae82fa..b678ddd82 100644 --- a/VisualC-GDK/SDL/SDL.vcxproj.filters +++ b/VisualC-GDK/SDL/SDL.vcxproj.filters @@ -174,10 +174,10 @@ - + API Headers - + API Headers diff --git a/VisualC-WinRT/SDL-UWP.vcxproj b/VisualC-WinRT/SDL-UWP.vcxproj index 09e22b53a..3fdbef4fb 100644 --- a/VisualC-WinRT/SDL-UWP.vcxproj +++ b/VisualC-WinRT/SDL-UWP.vcxproj @@ -35,8 +35,8 @@ - - + + diff --git a/VisualC-WinRT/SDL-UWP.vcxproj.filters b/VisualC-WinRT/SDL-UWP.vcxproj.filters index 65dd7e2f2..6e48a0ef4 100644 --- a/VisualC-WinRT/SDL-UWP.vcxproj.filters +++ b/VisualC-WinRT/SDL-UWP.vcxproj.filters @@ -9,10 +9,10 @@ - + Header Files - + Header Files diff --git a/VisualC/SDL/SDL.vcxproj b/VisualC/SDL/SDL.vcxproj index c4e076b31..8d55da2a4 100644 --- a/VisualC/SDL/SDL.vcxproj +++ b/VisualC/SDL/SDL.vcxproj @@ -234,8 +234,8 @@ - - + + diff --git a/VisualC/SDL/SDL.vcxproj.filters b/VisualC/SDL/SDL.vcxproj.filters index 0dcef11b8..738543acb 100644 --- a/VisualC/SDL/SDL.vcxproj.filters +++ b/VisualC/SDL/SDL.vcxproj.filters @@ -171,10 +171,10 @@ - + API Headers - + API Headers diff --git a/Xcode/SDL/SDL.xcodeproj/project.pbxproj b/Xcode/SDL/SDL.xcodeproj/project.pbxproj index dc75ce7cb..b6e93c592 100644 --- a/Xcode/SDL/SDL.xcodeproj/project.pbxproj +++ b/Xcode/SDL/SDL.xcodeproj/project.pbxproj @@ -3444,18 +3444,18 @@ F3F7D9D62933074E00816151 /* SDL_version.h in Headers */ = {isa = PBXBuildFile; fileRef = F3F7D8E42933074D00816151 /* SDL_version.h */; settings = {ATTRIBUTES = (Public, ); }; }; F3F7D9D72933074E00816151 /* SDL_version.h in Headers */ = {isa = PBXBuildFile; fileRef = F3F7D8E42933074D00816151 /* SDL_version.h */; settings = {ATTRIBUTES = (Public, ); }; }; F3F7D9D82933074E00816151 /* SDL_version.h in Headers */ = {isa = PBXBuildFile; fileRef = F3F7D8E42933074D00816151 /* SDL_version.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F3F7D9D92933074E00816151 /* close_code.h in Headers */ = {isa = PBXBuildFile; fileRef = F3F7D8E52933074D00816151 /* close_code.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F3F7D9DA2933074E00816151 /* close_code.h in Headers */ = {isa = PBXBuildFile; fileRef = F3F7D8E52933074D00816151 /* close_code.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F3F7D9DB2933074E00816151 /* close_code.h in Headers */ = {isa = PBXBuildFile; fileRef = F3F7D8E52933074D00816151 /* close_code.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F3F7D9DC2933074E00816151 /* close_code.h in Headers */ = {isa = PBXBuildFile; fileRef = F3F7D8E52933074D00816151 /* close_code.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F3F7D9D92933074E00816151 /* SDL_close_code.h in Headers */ = {isa = PBXBuildFile; fileRef = F3F7D8E52933074D00816151 /* SDL_close_code.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F3F7D9DA2933074E00816151 /* SDL_close_code.h in Headers */ = {isa = PBXBuildFile; fileRef = F3F7D8E52933074D00816151 /* SDL_close_code.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F3F7D9DB2933074E00816151 /* SDL_close_code.h in Headers */ = {isa = PBXBuildFile; fileRef = F3F7D8E52933074D00816151 /* SDL_close_code.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F3F7D9DC2933074E00816151 /* SDL_close_code.h in Headers */ = {isa = PBXBuildFile; fileRef = F3F7D8E52933074D00816151 /* SDL_close_code.h */; settings = {ATTRIBUTES = (Public, ); }; }; F3F7D9DD2933074E00816151 /* SDL_mutex.h in Headers */ = {isa = PBXBuildFile; fileRef = F3F7D8E62933074E00816151 /* SDL_mutex.h */; settings = {ATTRIBUTES = (Public, ); }; }; F3F7D9DE2933074E00816151 /* SDL_mutex.h in Headers */ = {isa = PBXBuildFile; fileRef = F3F7D8E62933074E00816151 /* SDL_mutex.h */; settings = {ATTRIBUTES = (Public, ); }; }; F3F7D9DF2933074E00816151 /* SDL_mutex.h in Headers */ = {isa = PBXBuildFile; fileRef = F3F7D8E62933074E00816151 /* SDL_mutex.h */; settings = {ATTRIBUTES = (Public, ); }; }; F3F7D9E02933074E00816151 /* SDL_mutex.h in Headers */ = {isa = PBXBuildFile; fileRef = F3F7D8E62933074E00816151 /* SDL_mutex.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F3F7D9E12933074E00816151 /* begin_code.h in Headers */ = {isa = PBXBuildFile; fileRef = F3F7D8E72933074E00816151 /* begin_code.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F3F7D9E22933074E00816151 /* begin_code.h in Headers */ = {isa = PBXBuildFile; fileRef = F3F7D8E72933074E00816151 /* begin_code.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F3F7D9E32933074E00816151 /* begin_code.h in Headers */ = {isa = PBXBuildFile; fileRef = F3F7D8E72933074E00816151 /* begin_code.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F3F7D9E42933074E00816151 /* begin_code.h in Headers */ = {isa = PBXBuildFile; fileRef = F3F7D8E72933074E00816151 /* begin_code.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F3F7D9E12933074E00816151 /* SDL_begin_code.h in Headers */ = {isa = PBXBuildFile; fileRef = F3F7D8E72933074E00816151 /* SDL_begin_code.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F3F7D9E22933074E00816151 /* SDL_begin_code.h in Headers */ = {isa = PBXBuildFile; fileRef = F3F7D8E72933074E00816151 /* SDL_begin_code.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F3F7D9E32933074E00816151 /* SDL_begin_code.h in Headers */ = {isa = PBXBuildFile; fileRef = F3F7D8E72933074E00816151 /* SDL_begin_code.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F3F7D9E42933074E00816151 /* SDL_begin_code.h in Headers */ = {isa = PBXBuildFile; fileRef = F3F7D8E72933074E00816151 /* SDL_begin_code.h */; settings = {ATTRIBUTES = (Public, ); }; }; F3F7D9E52933074E00816151 /* SDL_system.h in Headers */ = {isa = PBXBuildFile; fileRef = F3F7D8E82933074E00816151 /* SDL_system.h */; settings = {ATTRIBUTES = (Public, ); }; }; F3F7D9E62933074E00816151 /* SDL_system.h in Headers */ = {isa = PBXBuildFile; fileRef = F3F7D8E82933074E00816151 /* SDL_system.h */; settings = {ATTRIBUTES = (Public, ); }; }; F3F7D9E72933074E00816151 /* SDL_system.h in Headers */ = {isa = PBXBuildFile; fileRef = F3F7D8E82933074E00816151 /* SDL_system.h */; settings = {ATTRIBUTES = (Public, ); }; }; @@ -3966,9 +3966,9 @@ F3F7D8E22933074D00816151 /* SDL_rect.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SDL_rect.h; path = SDL3/SDL_rect.h; sourceTree = ""; }; F3F7D8E32933074D00816151 /* SDL_copying.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SDL_copying.h; path = SDL3/SDL_copying.h; sourceTree = ""; }; F3F7D8E42933074D00816151 /* SDL_version.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SDL_version.h; path = SDL3/SDL_version.h; sourceTree = ""; }; - F3F7D8E52933074D00816151 /* close_code.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = close_code.h; path = SDL3/close_code.h; sourceTree = ""; }; + F3F7D8E52933074D00816151 /* SDL_close_code.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SDL_close_code.h; path = SDL3/SDL_close_code.h; sourceTree = ""; }; F3F7D8E62933074E00816151 /* SDL_mutex.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SDL_mutex.h; path = SDL3/SDL_mutex.h; sourceTree = ""; }; - F3F7D8E72933074E00816151 /* begin_code.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = begin_code.h; path = SDL3/begin_code.h; sourceTree = ""; }; + F3F7D8E72933074E00816151 /* SDL_begin_code.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SDL_begin_code.h; path = SDL3/SDL_begin_code.h; sourceTree = ""; }; F3F7D8E82933074E00816151 /* SDL_system.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SDL_system.h; path = SDL3/SDL_system.h; sourceTree = ""; }; F59C710300D5CB5801000001 /* ReadMe.txt */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = ReadMe.txt; sourceTree = ""; }; F59C710600D5CB5801000001 /* SDL.info */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = SDL.info; sourceTree = ""; }; @@ -4133,8 +4133,8 @@ 0153844A006D81B07F000001 /* Public Headers */ = { isa = PBXGroup; children = ( - F3F7D8E72933074E00816151 /* begin_code.h */, - F3F7D8E52933074D00816151 /* close_code.h */, + F3F7D8E72933074E00816151 /* SDL_begin_code.h */, + F3F7D8E52933074D00816151 /* SDL_close_code.h */, F3F7D8E02933074D00816151 /* SDL_assert.h */, F3F7D8B92933074A00816151 /* SDL_atomic.h */, F3F7D8AA2933074900816151 /* SDL_audio.h */, @@ -5858,9 +5858,9 @@ A7D8BBAC23E2514500DCD162 /* SDL_windowevents_c.h in Headers */, A7D8B3B123E2514200DCD162 /* SDL_yuv_c.h in Headers */, A7D8B9CC23E2514400DCD162 /* SDL_yuv_sw_c.h in Headers */, - F3F7D9E22933074E00816151 /* begin_code.h in Headers */, + F3F7D9E22933074E00816151 /* SDL_begin_code.h in Headers */, A7D8BB4623E2514500DCD162 /* blank_cursor.h in Headers */, - F3F7D9DA2933074E00816151 /* close_code.h in Headers */, + F3F7D9DA2933074E00816151 /* SDL_close_code.h in Headers */, A7D8B5B823E2514300DCD162 /* controller_type.h in Headers */, A7D8BB4C23E2514500DCD162 /* default_cursor.h in Headers */, A7D8B23D23E2514200DCD162 /* egl.h in Headers */, @@ -6086,9 +6086,9 @@ A7D8BBAD23E2514500DCD162 /* SDL_windowevents_c.h in Headers */, A7D8B3B223E2514200DCD162 /* SDL_yuv_c.h in Headers */, A7D8B9CD23E2514400DCD162 /* SDL_yuv_sw_c.h in Headers */, - F3F7D9E32933074E00816151 /* begin_code.h in Headers */, + F3F7D9E32933074E00816151 /* SDL_begin_code.h in Headers */, A7D8BB4723E2514500DCD162 /* blank_cursor.h in Headers */, - F3F7D9DB2933074E00816151 /* close_code.h in Headers */, + F3F7D9DB2933074E00816151 /* SDL_close_code.h in Headers */, A7D8B5B923E2514300DCD162 /* controller_type.h in Headers */, A7D8BB4D23E2514500DCD162 /* default_cursor.h in Headers */, A7D8B23E23E2514200DCD162 /* egl.h in Headers */, @@ -6479,9 +6479,9 @@ A7D8BBAB23E2514500DCD162 /* SDL_windowevents_c.h in Headers */, A7D8B3B023E2514200DCD162 /* SDL_yuv_c.h in Headers */, A7D8B9CB23E2514400DCD162 /* SDL_yuv_sw_c.h in Headers */, - F3F7D9E12933074E00816151 /* begin_code.h in Headers */, + F3F7D9E12933074E00816151 /* SDL_begin_code.h in Headers */, A7D8BB4523E2514500DCD162 /* blank_cursor.h in Headers */, - F3F7D9D92933074E00816151 /* close_code.h in Headers */, + F3F7D9D92933074E00816151 /* SDL_close_code.h in Headers */, A7D8B5B723E2514300DCD162 /* controller_type.h in Headers */, A7D8BB4B23E2514500DCD162 /* default_cursor.h in Headers */, A7D8B23C23E2514200DCD162 /* egl.h in Headers */, @@ -6920,8 +6920,8 @@ F3F7D9D82933074E00816151 /* SDL_version.h in Headers */, F3F7D95C2933074E00816151 /* SDL_video.h in Headers */, F3F7D9982933074E00816151 /* SDL_vulkan.h in Headers */, - F3F7D9E42933074E00816151 /* begin_code.h in Headers */, - F3F7D9DC2933074E00816151 /* close_code.h in Headers */, + F3F7D9E42933074E00816151 /* SDL_begin_code.h in Headers */, + F3F7D9DC2933074E00816151 /* SDL_close_code.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/docs/README-migration.md b/docs/README-migration.md index 504140a63..a17d923eb 100644 --- a/docs/README-migration.md +++ b/docs/README-migration.md @@ -29,6 +29,9 @@ The SDL3test library has been renamed SDL3_test. There is no static SDLmain library anymore, it's now header-only, see below in the SDL_main.h section. +begin_code.h and close_code.h in the public headers have been renamed to SDL_begin_code.h and SDL_close_code.h. These aren't meant to be included directly by applications, but if your application did, please update your `#include` lines. + + ## SDL_cpuinfo.h The following headers are no longer automatically included, and will need to be included manually: diff --git a/include/SDL3/SDL_assert.h b/include/SDL3/SDL_assert.h index 40e41305e..168140947 100644 --- a/include/SDL3/SDL_assert.h +++ b/include/SDL3/SDL_assert.h @@ -24,7 +24,7 @@ #include -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -313,7 +313,7 @@ extern DECLSPEC void SDLCALL SDL_ResetAssertionReport(void); #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_assert_h_ */ diff --git a/include/SDL3/SDL_atomic.h b/include/SDL3/SDL_atomic.h index a4bc3fea1..8989529ed 100644 --- a/include/SDL3/SDL_atomic.h +++ b/include/SDL3/SDL_atomic.h @@ -62,7 +62,7 @@ #include #include -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus @@ -403,7 +403,7 @@ extern DECLSPEC void* SDLCALL SDL_AtomicGetPtr(void **a); } #endif -#include +#include #endif /* SDL_atomic_h_ */ diff --git a/include/SDL3/SDL_audio.h b/include/SDL3/SDL_audio.h index ee6cea02c..2a89223bb 100644 --- a/include/SDL3/SDL_audio.h +++ b/include/SDL3/SDL_audio.h @@ -37,7 +37,7 @@ #include #include -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -1493,7 +1493,7 @@ extern DECLSPEC void SDLCALL SDL_CloseAudioDevice(SDL_AudioDeviceID dev); #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_audio_h_ */ diff --git a/include/SDL3/begin_code.h b/include/SDL3/SDL_begin_code.h similarity index 96% rename from include/SDL3/begin_code.h rename to include/SDL3/SDL_begin_code.h index 0b23b57e2..0bebddde5 100644 --- a/include/SDL3/begin_code.h +++ b/include/SDL3/SDL_begin_code.h @@ -20,7 +20,7 @@ */ /** - * \file begin_code.h + * \file SDL_begin_code.h * * This file sets things up for C dynamic library function definitions, * static inlined functions, and structures aligned at 4-byte alignment. @@ -28,10 +28,10 @@ */ /* This shouldn't be nested -- included it around code only. */ -#ifdef _begin_code_h -#error Nested inclusion of begin_code.h +#ifdef _SDL_begin_code_h +#error Nested inclusion of SDL_begin_code.h #endif -#define _begin_code_h +#define _SDL_begin_code_h #ifndef SDL_DEPRECATED # if defined(__GNUC__) && (__GNUC__ >= 4) /* technically, this arrived in gcc 3.1, but oh well. */ @@ -78,7 +78,7 @@ /* Force structure packing at 4 byte alignment. This is necessary if the header is included in code which has structure packing set to an alternate value, say for loading structures from disk. - The packing is reset to the previous value in close_code.h + The packing is reset to the previous value in SDL_close_code.h */ #if defined(_MSC_VER) || defined(__MWERKS__) || defined(__BORLANDC__) #ifdef _MSC_VER diff --git a/include/SDL3/SDL_bits.h b/include/SDL3/SDL_bits.h index 34a51aa6f..d30c67b34 100644 --- a/include/SDL3/SDL_bits.h +++ b/include/SDL3/SDL_bits.h @@ -30,7 +30,7 @@ #include -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -119,7 +119,7 @@ SDL_HasExactlyOneBitSet32(Uint32 x) #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_bits_h_ */ diff --git a/include/SDL3/SDL_blendmode.h b/include/SDL3/SDL_blendmode.h index ffe96916a..8a9d67b56 100644 --- a/include/SDL3/SDL_blendmode.h +++ b/include/SDL3/SDL_blendmode.h @@ -28,7 +28,7 @@ #ifndef SDL_blendmode_h_ #define SDL_blendmode_h_ -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -191,7 +191,7 @@ extern DECLSPEC SDL_BlendMode SDLCALL SDL_ComposeCustomBlendMode(SDL_BlendFactor #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_blendmode_h_ */ diff --git a/include/SDL3/SDL_clipboard.h b/include/SDL3/SDL_clipboard.h index 7cbd812a5..cd9b33dec 100644 --- a/include/SDL3/SDL_clipboard.h +++ b/include/SDL3/SDL_clipboard.h @@ -30,7 +30,7 @@ #include -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -134,7 +134,7 @@ extern DECLSPEC SDL_bool SDLCALL SDL_HasPrimarySelectionText(void); #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_clipboard_h_ */ diff --git a/include/SDL3/close_code.h b/include/SDL3/SDL_close_code.h similarity index 85% rename from include/SDL3/close_code.h rename to include/SDL3/SDL_close_code.h index dc73432f6..7ebccc81d 100644 --- a/include/SDL3/close_code.h +++ b/include/SDL3/SDL_close_code.h @@ -20,16 +20,16 @@ */ /** - * \file close_code.h + * \file SDL_close_code.h * - * This file reverses the effects of begin_code.h and should be included + * This file reverses the effects of SDL_begin_code.h and should be included * after you finish any function and structure declarations in your headers */ -#ifndef _begin_code_h -#error close_code.h included without matching begin_code.h +#ifndef _SDL_begin_code_h +#error SDL_close_code.h included without matching SDL_begin_code.h #endif -#undef _begin_code_h +#undef _SDL_begin_code_h /* Reset structure packing at previous byte alignment */ #if defined(_MSC_VER) || defined(__MWERKS__) || defined(__BORLANDC__) diff --git a/include/SDL3/SDL_cpuinfo.h b/include/SDL3/SDL_cpuinfo.h index ee5be8eb6..0905b09d0 100644 --- a/include/SDL3/SDL_cpuinfo.h +++ b/include/SDL3/SDL_cpuinfo.h @@ -30,7 +30,7 @@ #include -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -493,7 +493,7 @@ extern DECLSPEC void SDLCALL SDL_SIMDFree(void *ptr); #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_cpuinfo_h_ */ diff --git a/include/SDL3/SDL_endian.h b/include/SDL3/SDL_endian.h index 7f8be9142..6a4d11a29 100644 --- a/include/SDL3/SDL_endian.h +++ b/include/SDL3/SDL_endian.h @@ -110,7 +110,7 @@ _m_prefetch(void *__P) #endif /* !SDL_FLOATWORDORDER */ -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -341,7 +341,7 @@ SDL_SwapFloat(float x) #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_endian_h_ */ diff --git a/include/SDL3/SDL_error.h b/include/SDL3/SDL_error.h index acbbeaa0d..ee1e549ef 100644 --- a/include/SDL3/SDL_error.h +++ b/include/SDL3/SDL_error.h @@ -30,7 +30,7 @@ #include -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -156,7 +156,7 @@ extern DECLSPEC int SDLCALL SDL_Error(SDL_errorcode code); #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_error_h_ */ diff --git a/include/SDL3/SDL_events.h b/include/SDL3/SDL_events.h index 13993f991..0907ed2d5 100644 --- a/include/SDL3/SDL_events.h +++ b/include/SDL3/SDL_events.h @@ -38,7 +38,7 @@ #include #include -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -1143,7 +1143,7 @@ extern DECLSPEC Uint32 SDLCALL SDL_RegisterEvents(int numevents); #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_events_h_ */ diff --git a/include/SDL3/SDL_filesystem.h b/include/SDL3/SDL_filesystem.h index bba7aee50..429398b4e 100644 --- a/include/SDL3/SDL_filesystem.h +++ b/include/SDL3/SDL_filesystem.h @@ -30,7 +30,7 @@ #include -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus @@ -142,7 +142,7 @@ extern DECLSPEC char *SDLCALL SDL_GetPrefPath(const char *org, const char *app); #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_filesystem_h_ */ diff --git a/include/SDL3/SDL_gamecontroller.h b/include/SDL3/SDL_gamecontroller.h index d4323bc62..b340f4178 100644 --- a/include/SDL3/SDL_gamecontroller.h +++ b/include/SDL3/SDL_gamecontroller.h @@ -34,7 +34,7 @@ #include #include -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -1048,7 +1048,7 @@ extern DECLSPEC const char* SDLCALL SDL_GameControllerGetAppleSFSymbolsNameForAx #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_gamecontroller_h_ */ diff --git a/include/SDL3/SDL_guid.h b/include/SDL3/SDL_guid.h index b4383cad5..dea68fd5c 100644 --- a/include/SDL3/SDL_guid.h +++ b/include/SDL3/SDL_guid.h @@ -31,7 +31,7 @@ #include #include -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -93,7 +93,7 @@ extern DECLSPEC SDL_GUID SDLCALL SDL_GUIDFromString(const char *pchGUID); #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_guid_h_ */ diff --git a/include/SDL3/SDL_haptic.h b/include/SDL3/SDL_haptic.h index 38ef69fa3..846e16977 100644 --- a/include/SDL3/SDL_haptic.h +++ b/include/SDL3/SDL_haptic.h @@ -111,7 +111,7 @@ #include #include -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -1334,7 +1334,7 @@ extern DECLSPEC int SDLCALL SDL_HapticRumbleStop(SDL_Haptic * haptic); #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_haptic_h_ */ diff --git a/include/SDL3/SDL_hidapi.h b/include/SDL3/SDL_hidapi.h index 968e7091c..b4d13010b 100644 --- a/include/SDL3/SDL_hidapi.h +++ b/include/SDL3/SDL_hidapi.h @@ -64,7 +64,7 @@ #include -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -444,7 +444,7 @@ extern DECLSPEC void SDLCALL SDL_hid_ble_scan(SDL_bool active); #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_hidapi_h_ */ diff --git a/include/SDL3/SDL_hints.h b/include/SDL3/SDL_hints.h index 6274a1219..2f6e7aa1b 100644 --- a/include/SDL3/SDL_hints.h +++ b/include/SDL3/SDL_hints.h @@ -41,7 +41,7 @@ #include -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -2549,7 +2549,7 @@ extern DECLSPEC void SDLCALL SDL_ClearHints(void); #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_hints_h_ */ diff --git a/include/SDL3/SDL_init.h b/include/SDL3/SDL_init.h index 7e4abbcdd..4b9962908 100644 --- a/include/SDL3/SDL_init.h +++ b/include/SDL3/SDL_init.h @@ -30,7 +30,7 @@ #include -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -192,7 +192,7 @@ extern DECLSPEC void SDLCALL SDL_Quit(void); #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_init_h_ */ diff --git a/include/SDL3/SDL_joystick.h b/include/SDL3/SDL_joystick.h index 23cba8e22..6d59db2b4 100644 --- a/include/SDL3/SDL_joystick.h +++ b/include/SDL3/SDL_joystick.h @@ -46,7 +46,7 @@ #include #include -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -1023,7 +1023,7 @@ extern DECLSPEC SDL_JoystickPowerLevel SDLCALL SDL_JoystickCurrentPowerLevel(SDL #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_joystick_h_ */ diff --git a/include/SDL3/SDL_keyboard.h b/include/SDL3/SDL_keyboard.h index bc4599371..98a456e5b 100644 --- a/include/SDL3/SDL_keyboard.h +++ b/include/SDL3/SDL_keyboard.h @@ -33,7 +33,7 @@ #include #include -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -346,7 +346,7 @@ extern DECLSPEC SDL_bool SDLCALL SDL_IsScreenKeyboardShown(SDL_Window *window); #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_keyboard_h_ */ diff --git a/include/SDL3/SDL_loadso.h b/include/SDL3/SDL_loadso.h index b2b57aa4a..bf3c31920 100644 --- a/include/SDL3/SDL_loadso.h +++ b/include/SDL3/SDL_loadso.h @@ -44,7 +44,7 @@ #include #include -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -108,7 +108,7 @@ extern DECLSPEC void SDLCALL SDL_UnloadObject(void *handle); #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_loadso_h_ */ diff --git a/include/SDL3/SDL_locale.h b/include/SDL3/SDL_locale.h index 9a0444c27..410fc52b9 100644 --- a/include/SDL3/SDL_locale.h +++ b/include/SDL3/SDL_locale.h @@ -31,7 +31,7 @@ #include #include -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus /* *INDENT-OFF* */ @@ -96,7 +96,7 @@ extern DECLSPEC SDL_Locale * SDLCALL SDL_GetPreferredLocales(void); } /* *INDENT-ON* */ #endif -#include +#include #endif /* _SDL_locale_h */ diff --git a/include/SDL3/SDL_log.h b/include/SDL3/SDL_log.h index 394c64e2e..f5204c2ce 100644 --- a/include/SDL3/SDL_log.h +++ b/include/SDL3/SDL_log.h @@ -39,7 +39,7 @@ #include -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -397,7 +397,7 @@ extern DECLSPEC void SDLCALL SDL_LogSetOutputFunction(SDL_LogOutputFunction call #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_log_h_ */ diff --git a/include/SDL3/SDL_main.h b/include/SDL3/SDL_main.h index 193d44bfe..4bf3c6902 100644 --- a/include/SDL3/SDL_main.h +++ b/include/SDL3/SDL_main.h @@ -144,7 +144,7 @@ #define main SDL_main #endif -#include +#include #ifdef __cplusplus extern "C" { #endif @@ -275,7 +275,7 @@ extern DECLSPEC void SDLCALL SDL_GDKSuspendComplete(void); } #endif -#include +#include #if !defined(SDL_MAIN_HANDLED) && !defined(SDL_MAIN_NOIMPL) /* include header-only SDL_main implementations */ diff --git a/include/SDL3/SDL_main_impl.h b/include/SDL3/SDL_main_impl.h index 9c0b9c37b..3e1e63aab 100644 --- a/include/SDL3/SDL_main_impl.h +++ b/include/SDL3/SDL_main_impl.h @@ -48,7 +48,7 @@ #define WINAPI __stdcall #endif -#include +#include #ifdef __cplusplus extern "C" { @@ -98,7 +98,7 @@ WinMain(HINSTANCE hInst, HINSTANCE hPrev, LPSTR szCmdLine, int sw) } /* extern "C" */ #endif -#include +#include /* end of __WIN32__ and __GDK__ impls */ #elif defined(__WINRT__) @@ -171,7 +171,7 @@ TInt E32Main() #else /* platforms that use a standard main() and just call SDL_RunApp(), like iOS and 3DS */ -#include +#include #ifdef __cplusplus extern "C" { @@ -186,7 +186,7 @@ int main(int argc, char *argv[]) } /* extern "C" */ #endif -#include +#include /* end of impls for standard-conforming platforms */ diff --git a/include/SDL3/SDL_messagebox.h b/include/SDL3/SDL_messagebox.h index 6061ebebc..7a0f5a9cd 100644 --- a/include/SDL3/SDL_messagebox.h +++ b/include/SDL3/SDL_messagebox.h @@ -25,7 +25,7 @@ #include #include /* For SDL_Window */ -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -186,7 +186,7 @@ extern DECLSPEC int SDLCALL SDL_ShowSimpleMessageBox(Uint32 flags, const char *t #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_messagebox_h_ */ diff --git a/include/SDL3/SDL_metal.h b/include/SDL3/SDL_metal.h index 398c3ac86..52099dc2a 100644 --- a/include/SDL3/SDL_metal.h +++ b/include/SDL3/SDL_metal.h @@ -30,7 +30,7 @@ #include -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -108,6 +108,6 @@ extern DECLSPEC void SDLCALL SDL_Metal_GetDrawableSize(SDL_Window* window, int * #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_metal_h_ */ diff --git a/include/SDL3/SDL_misc.h b/include/SDL3/SDL_misc.h index a3381c10f..80d972f24 100644 --- a/include/SDL3/SDL_misc.h +++ b/include/SDL3/SDL_misc.h @@ -30,7 +30,7 @@ #include -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus @@ -72,7 +72,7 @@ extern DECLSPEC int SDLCALL SDL_OpenURL(const char *url); #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_misc_h_ */ diff --git a/include/SDL3/SDL_mouse.h b/include/SDL3/SDL_mouse.h index f41d2d7b2..9b28bec71 100644 --- a/include/SDL3/SDL_mouse.h +++ b/include/SDL3/SDL_mouse.h @@ -32,7 +32,7 @@ #include #include -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -463,7 +463,7 @@ extern DECLSPEC int SDLCALL SDL_ShowCursor(int toggle); #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_mouse_h_ */ diff --git a/include/SDL3/SDL_mutex.h b/include/SDL3/SDL_mutex.h index 44109c383..e9c3696c6 100644 --- a/include/SDL3/SDL_mutex.h +++ b/include/SDL3/SDL_mutex.h @@ -105,7 +105,7 @@ /******************************************************************************/ -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -538,7 +538,7 @@ extern DECLSPEC int SDLCALL SDL_CondWaitTimeout(SDL_cond *cond, #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_mutex_h_ */ diff --git a/include/SDL3/SDL_pixels.h b/include/SDL3/SDL_pixels.h index 39045094f..a7146755d 100644 --- a/include/SDL3/SDL_pixels.h +++ b/include/SDL3/SDL_pixels.h @@ -31,7 +31,7 @@ #include #include -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -614,7 +614,7 @@ extern DECLSPEC void SDLCALL SDL_GetRGBA(Uint32 pixel, #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_pixels_h_ */ diff --git a/include/SDL3/SDL_platform.h b/include/SDL3/SDL_platform.h index 3b4d7fc7d..052a05ddb 100644 --- a/include/SDL3/SDL_platform.h +++ b/include/SDL3/SDL_platform.h @@ -207,7 +207,7 @@ #define __3DS__ 1 #endif -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -235,7 +235,7 @@ extern DECLSPEC const char * SDLCALL SDL_GetPlatform (void); #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_platform_h_ */ diff --git a/include/SDL3/SDL_power.h b/include/SDL3/SDL_power.h index 64db261dd..8b23f45e4 100644 --- a/include/SDL3/SDL_power.h +++ b/include/SDL3/SDL_power.h @@ -30,7 +30,7 @@ #include -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -80,7 +80,7 @@ extern DECLSPEC SDL_PowerState SDLCALL SDL_GetPowerInfo(int *seconds, int *perce #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_power_h_ */ diff --git a/include/SDL3/SDL_rect.h b/include/SDL3/SDL_rect.h index 81226239b..060252e5f 100644 --- a/include/SDL3/SDL_rect.h +++ b/include/SDL3/SDL_rect.h @@ -33,7 +33,7 @@ #include #include -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -369,7 +369,7 @@ extern DECLSPEC SDL_bool SDLCALL SDL_IntersectFRectAndLine(const SDL_FRect * #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_rect_h_ */ diff --git a/include/SDL3/SDL_render.h b/include/SDL3/SDL_render.h index c483d0c77..84a55c2b9 100644 --- a/include/SDL3/SDL_render.h +++ b/include/SDL3/SDL_render.h @@ -52,7 +52,7 @@ #include #include -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -1929,7 +1929,7 @@ extern DECLSPEC int SDLCALL SDL_RenderSetVSync(SDL_Renderer* renderer, int vsync #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_render_h_ */ diff --git a/include/SDL3/SDL_rwops.h b/include/SDL3/SDL_rwops.h index 5ff826cf5..81c9b62aa 100644 --- a/include/SDL3/SDL_rwops.h +++ b/include/SDL3/SDL_rwops.h @@ -32,7 +32,7 @@ #include #include -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -805,7 +805,7 @@ extern DECLSPEC size_t SDLCALL SDL_WriteBE64(SDL_RWops * dst, Uint64 value); #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_rwops_h_ */ diff --git a/include/SDL3/SDL_sensor.h b/include/SDL3/SDL_sensor.h index c566c7598..f81f89222 100644 --- a/include/SDL3/SDL_sensor.h +++ b/include/SDL3/SDL_sensor.h @@ -32,7 +32,7 @@ #include #include -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus /* *INDENT-OFF* */ @@ -298,7 +298,7 @@ extern DECLSPEC void SDLCALL SDL_SensorUpdate(void); } /* *INDENT-ON* */ #endif -#include +#include #endif /* SDL_sensor_h_ */ diff --git a/include/SDL3/SDL_shape.h b/include/SDL3/SDL_shape.h index dc284c0c6..b73365b05 100644 --- a/include/SDL3/SDL_shape.h +++ b/include/SDL3/SDL_shape.h @@ -28,7 +28,7 @@ #include #include -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -150,6 +150,6 @@ extern DECLSPEC int SDLCALL SDL_GetShapedWindowMode(SDL_Window *window,SDL_Windo #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_shape_h_ */ diff --git a/include/SDL3/SDL_stdinc.h b/include/SDL3/SDL_stdinc.h index 021d44dec..a76c40cfa 100644 --- a/include/SDL3/SDL_stdinc.h +++ b/include/SDL3/SDL_stdinc.h @@ -367,7 +367,7 @@ SDL_COMPILE_TIME_ASSERT(enum, sizeof(SDL_DUMMY_ENUM) == sizeof(int)); #endif /* DOXYGEN_SHOULD_IGNORE_THIS */ /** \endcond */ -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -740,7 +740,7 @@ SDL_FORCE_INLINE int _SDL_size_add_overflow_builtin (size_t a, #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_stdinc_h_ */ diff --git a/include/SDL3/SDL_surface.h b/include/SDL3/SDL_surface.h index b768fea45..4bf58cac5 100644 --- a/include/SDL3/SDL_surface.h +++ b/include/SDL3/SDL_surface.h @@ -34,7 +34,7 @@ #include #include -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -882,7 +882,7 @@ extern DECLSPEC SDL_YUV_CONVERSION_MODE SDLCALL SDL_GetYUVConversionModeForResol #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_surface_h_ */ diff --git a/include/SDL3/SDL_system.h b/include/SDL3/SDL_system.h index e3fdc8465..cbbdfb66c 100644 --- a/include/SDL3/SDL_system.h +++ b/include/SDL3/SDL_system.h @@ -33,7 +33,7 @@ #include #include -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -616,7 +616,7 @@ extern DECLSPEC int SDLCALL SDL_GDKGetTaskQueue(XTaskQueueHandle * outTaskQueue) #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_system_h_ */ diff --git a/include/SDL3/SDL_syswm.h b/include/SDL3/SDL_syswm.h index 397cfeec0..89d280b30 100644 --- a/include/SDL3/SDL_syswm.h +++ b/include/SDL3/SDL_syswm.h @@ -57,7 +57,7 @@ */ struct SDL_SysWMinfo; -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -261,7 +261,7 @@ extern DECLSPEC int SDLCALL SDL_GetWindowWMInfo(SDL_Window *window, SDL_SysWMinf #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_syswm_h_ */ diff --git a/include/SDL3/SDL_test.h b/include/SDL3/SDL_test.h index bf9da432f..72c48e93e 100644 --- a/include/SDL3/SDL_test.h +++ b/include/SDL3/SDL_test.h @@ -44,7 +44,7 @@ #include #include -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -62,7 +62,7 @@ extern "C" { #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_test_h_ */ diff --git a/include/SDL3/SDL_test_assert.h b/include/SDL3/SDL_test_assert.h index fe5117a2d..87ba897b8 100644 --- a/include/SDL3/SDL_test_assert.h +++ b/include/SDL3/SDL_test_assert.h @@ -36,7 +36,7 @@ #ifndef SDL_test_assert_h_ #define SDL_test_assert_h_ -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -98,7 +98,7 @@ int SDLTest_AssertSummaryToTestResult(void); #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_test_assert_h_ */ diff --git a/include/SDL3/SDL_test_common.h b/include/SDL3/SDL_test_common.h index 55d54ffce..f6883c7ae 100644 --- a/include/SDL3/SDL_test_common.h +++ b/include/SDL3/SDL_test_common.h @@ -121,7 +121,7 @@ typedef struct } SDLTest_CommonState; -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -229,7 +229,7 @@ void SDLTest_CommonDrawWindowInfo(SDL_Renderer * renderer, SDL_Window * window, #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_test_common_h_ */ diff --git a/include/SDL3/SDL_test_compare.h b/include/SDL3/SDL_test_compare.h index 94ba6a1c1..5da0be26f 100644 --- a/include/SDL3/SDL_test_compare.h +++ b/include/SDL3/SDL_test_compare.h @@ -40,7 +40,7 @@ #include -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -62,7 +62,7 @@ int SDLTest_CompareSurfaces(SDL_Surface *surface, SDL_Surface *referenceSurface, #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_test_compare_h_ */ diff --git a/include/SDL3/SDL_test_crc32.h b/include/SDL3/SDL_test_crc32.h index 889d18bc7..94852a8c9 100644 --- a/include/SDL3/SDL_test_crc32.h +++ b/include/SDL3/SDL_test_crc32.h @@ -36,7 +36,7 @@ #ifndef SDL_test_crc32_h_ #define SDL_test_crc32_h_ -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -117,7 +117,7 @@ int SDLTest_Crc32Done(SDLTest_Crc32Context * crcContext); #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_test_crc32_h_ */ diff --git a/include/SDL3/SDL_test_font.h b/include/SDL3/SDL_test_font.h index b5539a7d2..c7d4f60e0 100644 --- a/include/SDL3/SDL_test_font.h +++ b/include/SDL3/SDL_test_font.h @@ -30,7 +30,7 @@ #ifndef SDL_test_font_h_ #define SDL_test_font_h_ -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -161,7 +161,7 @@ void SDLTest_CleanupTextDrawing(void); #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_test_font_h_ */ diff --git a/include/SDL3/SDL_test_fuzzer.h b/include/SDL3/SDL_test_fuzzer.h index d6cc6864e..f7680d060 100644 --- a/include/SDL3/SDL_test_fuzzer.h +++ b/include/SDL3/SDL_test_fuzzer.h @@ -36,7 +36,7 @@ #ifndef SDL_test_fuzzer_h_ #define SDL_test_fuzzer_h_ -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -379,7 +379,7 @@ int SDLTest_GetFuzzerInvocationCount(void); #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_test_fuzzer_h_ */ diff --git a/include/SDL3/SDL_test_harness.h b/include/SDL3/SDL_test_harness.h index 5d516afd9..c6f89ef17 100644 --- a/include/SDL3/SDL_test_harness.h +++ b/include/SDL3/SDL_test_harness.h @@ -36,7 +36,7 @@ #ifndef SDL_test_h_arness_h #define SDL_test_h_arness_h -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -127,7 +127,7 @@ int SDLTest_RunSuites(SDLTest_TestSuiteReference *testSuites[], const char *user #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_test_h_arness_h */ diff --git a/include/SDL3/SDL_test_images.h b/include/SDL3/SDL_test_images.h index 7348db01c..0e978873f 100644 --- a/include/SDL3/SDL_test_images.h +++ b/include/SDL3/SDL_test_images.h @@ -38,7 +38,7 @@ #include -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -71,7 +71,7 @@ SDL_Surface *SDLTest_ImagePrimitivesBlend(void); #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_test_images_h_ */ diff --git a/include/SDL3/SDL_test_log.h b/include/SDL3/SDL_test_log.h index c7d070bb9..b9cf26b59 100644 --- a/include/SDL3/SDL_test_log.h +++ b/include/SDL3/SDL_test_log.h @@ -36,7 +36,7 @@ #ifndef SDL_test_log_h_ #define SDL_test_log_h_ -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -60,7 +60,7 @@ void SDLTest_LogError(SDL_PRINTF_FORMAT_STRING const char *fmt, ...) SDL_PRINTF_ #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_test_log_h_ */ diff --git a/include/SDL3/SDL_test_md5.h b/include/SDL3/SDL_test_md5.h index 72713e77f..0f0de97c3 100644 --- a/include/SDL3/SDL_test_md5.h +++ b/include/SDL3/SDL_test_md5.h @@ -56,7 +56,7 @@ #ifndef SDL_test_md5_h_ #define SDL_test_md5_h_ -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -122,7 +122,7 @@ extern "C" { #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_test_md5_h_ */ diff --git a/include/SDL3/SDL_test_memory.h b/include/SDL3/SDL_test_memory.h index 8fef4a697..608062581 100644 --- a/include/SDL3/SDL_test_memory.h +++ b/include/SDL3/SDL_test_memory.h @@ -30,7 +30,7 @@ #ifndef SDL_test_memory_h_ #define SDL_test_memory_h_ -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -56,7 +56,7 @@ void SDLTest_LogAllocations(void); #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_test_memory_h_ */ diff --git a/include/SDL3/SDL_test_random.h b/include/SDL3/SDL_test_random.h index 80d5bddde..7f60ad5f4 100644 --- a/include/SDL3/SDL_test_random.h +++ b/include/SDL3/SDL_test_random.h @@ -40,7 +40,7 @@ #ifndef SDL_test_random_h_ #define SDL_test_random_h_ -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -108,7 +108,7 @@ extern "C" { #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_test_random_h_ */ diff --git a/include/SDL3/SDL_thread.h b/include/SDL3/SDL_thread.h index 9dfd93b69..8c090b21a 100644 --- a/include/SDL3/SDL_thread.h +++ b/include/SDL3/SDL_thread.h @@ -39,7 +39,7 @@ #include /* _beginthreadex() and _endthreadex() */ #endif -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -414,7 +414,7 @@ extern DECLSPEC void SDLCALL SDL_TLSCleanup(void); #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_thread_h_ */ diff --git a/include/SDL3/SDL_timer.h b/include/SDL3/SDL_timer.h index 01f83a88a..b1d226c82 100644 --- a/include/SDL3/SDL_timer.h +++ b/include/SDL3/SDL_timer.h @@ -31,7 +31,7 @@ #include #include -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -193,7 +193,7 @@ extern DECLSPEC SDL_bool SDLCALL SDL_RemoveTimer(SDL_TimerID id); #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_timer_h_ */ diff --git a/include/SDL3/SDL_touch.h b/include/SDL3/SDL_touch.h index 9bb555af3..f72160509 100644 --- a/include/SDL3/SDL_touch.h +++ b/include/SDL3/SDL_touch.h @@ -32,7 +32,7 @@ #include #include -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -141,7 +141,7 @@ extern DECLSPEC SDL_Finger * SDLCALL SDL_GetTouchFinger(SDL_TouchID touchID, int #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_touch_h_ */ diff --git a/include/SDL3/SDL_version.h b/include/SDL3/SDL_version.h index e6bbe68c1..22599bf5e 100644 --- a/include/SDL3/SDL_version.h +++ b/include/SDL3/SDL_version.h @@ -30,7 +30,7 @@ #include -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -156,7 +156,7 @@ extern DECLSPEC const char *SDLCALL SDL_GetRevision(void); #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_version_h_ */ diff --git a/include/SDL3/SDL_video.h b/include/SDL3/SDL_video.h index 7444fdc6e..2f4845c2a 100644 --- a/include/SDL3/SDL_video.h +++ b/include/SDL3/SDL_video.h @@ -33,7 +33,7 @@ #include #include -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -2080,7 +2080,7 @@ extern DECLSPEC void SDLCALL SDL_GL_DeleteContext(SDL_GLContext context); #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_video_h_ */ diff --git a/include/SDL3/SDL_vulkan.h b/include/SDL3/SDL_vulkan.h index a54eb047f..6f5087fb0 100644 --- a/include/SDL3/SDL_vulkan.h +++ b/include/SDL3/SDL_vulkan.h @@ -30,7 +30,7 @@ #include -#include +#include /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -210,6 +210,6 @@ extern DECLSPEC void SDLCALL SDL_Vulkan_GetDrawableSize(SDL_Window * window, #ifdef __cplusplus } #endif -#include +#include #endif /* SDL_vulkan_h_ */