Procházet zdrojové kódy

Removed the vi format comments from the source

Vim users can use the [editorconfig plugin](https://github.com/editorconfig/editorconfig-vim) to automatically set tab spacing for the SDL coding style.

Fixes https://github.com/libsdl-org/SDL/issues/6903
Sam Lantinga před 2 roky
rodič
revize
63724c113b
100 změnil soubory, kde provedl 1 přidání a 201 odebrání
  1. 0 2
      VisualC-GDK/tests/testgdk/src/testgdk.cpp
  2. 0 3
      build-scripts/gen_audio_channel_conversion.c
  3. 0 4
      build-scripts/gen_audio_resampler_filter.c
  4. 1 0
      docs/README-migration.md
  5. 0 2
      include/SDL3/SDL.h
  6. 0 2
      include/SDL3/SDL_assert.h
  7. 0 2
      include/SDL3/SDL_atomic.h
  8. 0 2
      include/SDL3/SDL_audio.h
  9. 0 2
      include/SDL3/SDL_bits.h
  10. 0 2
      include/SDL3/SDL_blendmode.h
  11. 0 2
      include/SDL3/SDL_clipboard.h
  12. 0 2
      include/SDL3/SDL_cpuinfo.h
  13. 0 2
      include/SDL3/SDL_endian.h
  14. 0 2
      include/SDL3/SDL_error.h
  15. 0 2
      include/SDL3/SDL_events.h
  16. 0 2
      include/SDL3/SDL_filesystem.h
  17. 0 2
      include/SDL3/SDL_gamecontroller.h
  18. 0 2
      include/SDL3/SDL_guid.h
  19. 0 2
      include/SDL3/SDL_haptic.h
  20. 0 2
      include/SDL3/SDL_hidapi.h
  21. 0 2
      include/SDL3/SDL_hints.h
  22. 0 2
      include/SDL3/SDL_init.h
  23. 0 2
      include/SDL3/SDL_joystick.h
  24. 0 2
      include/SDL3/SDL_keyboard.h
  25. 0 2
      include/SDL3/SDL_keycode.h
  26. 0 2
      include/SDL3/SDL_loadso.h
  27. 0 2
      include/SDL3/SDL_locale.h
  28. 0 2
      include/SDL3/SDL_log.h
  29. 0 2
      include/SDL3/SDL_main.h
  30. 0 2
      include/SDL3/SDL_main_impl.h
  31. 0 2
      include/SDL3/SDL_messagebox.h
  32. 0 2
      include/SDL3/SDL_misc.h
  33. 0 2
      include/SDL3/SDL_mouse.h
  34. 0 2
      include/SDL3/SDL_mutex.h
  35. 0 2
      include/SDL3/SDL_name.h
  36. 0 2
      include/SDL3/SDL_oldnames.h
  37. 0 2
      include/SDL3/SDL_opengl.h
  38. 0 2
      include/SDL3/SDL_pixels.h
  39. 0 2
      include/SDL3/SDL_platform.h
  40. 0 2
      include/SDL3/SDL_power.h
  41. 0 2
      include/SDL3/SDL_rect.h
  42. 0 2
      include/SDL3/SDL_render.h
  43. 0 2
      include/SDL3/SDL_rwops.h
  44. 0 2
      include/SDL3/SDL_scancode.h
  45. 0 2
      include/SDL3/SDL_sensor.h
  46. 0 2
      include/SDL3/SDL_stdinc.h
  47. 0 2
      include/SDL3/SDL_surface.h
  48. 0 2
      include/SDL3/SDL_system.h
  49. 0 2
      include/SDL3/SDL_syswm.h
  50. 0 2
      include/SDL3/SDL_test.h
  51. 0 2
      include/SDL3/SDL_test_assert.h
  52. 0 2
      include/SDL3/SDL_test_common.h
  53. 0 2
      include/SDL3/SDL_test_compare.h
  54. 0 2
      include/SDL3/SDL_test_crc32.h
  55. 0 2
      include/SDL3/SDL_test_font.h
  56. 0 2
      include/SDL3/SDL_test_fuzzer.h
  57. 0 2
      include/SDL3/SDL_test_harness.h
  58. 0 2
      include/SDL3/SDL_test_images.h
  59. 0 2
      include/SDL3/SDL_test_log.h
  60. 0 2
      include/SDL3/SDL_test_md5.h
  61. 0 2
      include/SDL3/SDL_test_memory.h
  62. 0 2
      include/SDL3/SDL_test_random.h
  63. 0 2
      include/SDL3/SDL_thread.h
  64. 0 2
      include/SDL3/SDL_timer.h
  65. 0 2
      include/SDL3/SDL_touch.h
  66. 0 2
      include/SDL3/SDL_version.h
  67. 0 2
      include/SDL3/SDL_video.h
  68. 0 2
      include/build_config/SDL_build_config_windows.h
  69. 0 2
      include/build_config/SDL_build_config_wingdk.h
  70. 0 2
      include/build_config/SDL_build_config_xbox.h
  71. 0 2
      src/SDL.c
  72. 0 2
      src/SDL_assert.c
  73. 0 2
      src/SDL_assert_c.h
  74. 0 2
      src/SDL_dataqueue.c
  75. 0 2
      src/SDL_dataqueue.h
  76. 0 2
      src/SDL_error.c
  77. 0 2
      src/SDL_error_c.h
  78. 0 2
      src/SDL_hints.c
  79. 0 2
      src/SDL_hints_c.h
  80. 0 2
      src/SDL_internal.h
  81. 0 2
      src/SDL_intrin.h
  82. 0 2
      src/SDL_list.c
  83. 0 2
      src/SDL_list.h
  84. 0 2
      src/SDL_log.c
  85. 0 2
      src/SDL_log_c.h
  86. 0 2
      src/SDL_utils.c
  87. 0 2
      src/SDL_utils_c.h
  88. 0 2
      src/atomic/SDL_atomic.c
  89. 0 2
      src/atomic/SDL_spinlock.c
  90. 0 2
      src/audio/SDL_audio.c
  91. 0 2
      src/audio/SDL_audio_c.h
  92. 0 2
      src/audio/SDL_audio_channel_converters.h
  93. 0 2
      src/audio/SDL_audio_resampler_filter.h
  94. 0 2
      src/audio/SDL_audiocvt.c
  95. 0 2
      src/audio/SDL_audiodev.c
  96. 0 2
      src/audio/SDL_audiodev_c.h
  97. 0 2
      src/audio/SDL_audiotypecvt.c
  98. 0 2
      src/audio/SDL_mixer.c
  99. 0 2
      src/audio/SDL_sysaudio.h
  100. 0 2
      src/audio/SDL_wave.c

+ 0 - 2
VisualC-GDK/tests/testgdk/src/testgdk.cpp

@@ -500,5 +500,3 @@ main(int argc, char *argv[])
     SDL_free(soundname);
     return 0;
 }
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 3
build-scripts/gen_audio_channel_conversion.c

@@ -442,9 +442,6 @@ int main(void)
     }
 
     printf("};\n\n");
-    printf("/* vi: set ts=4 sw=4 expandtab: */\n\n");
 
     return 0;
 }
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 4
build-scripts/gen_audio_resampler_filter.c

@@ -154,10 +154,6 @@ int main(void)
         printf("%s%.9ff", ((i % 5) == 4) ? ",\n    " : ", ", ResamplerFilterDifference[i+1]);
     }
     printf("\n};\n\n");
-    printf("/* vi: set ts=4 sw=4 expandtab: */\n\n");
 
     return 0;
 }
-
-/* vi: set ts=4 sw=4 expandtab: */
-

+ 1 - 0
docs/README-migration.md

@@ -38,6 +38,7 @@ There is no SDLmain library anymore, it's now header-only, see below in the SDL_
 
 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.
 
+The vi format comments have been removed from source code. Vim users can use the [editorconfig plugin](https://github.com/editorconfig/editorconfig-vim) to automatically set tab spacing for the SDL coding style.
 
 ## SDL_cpuinfo.h
 

+ 0 - 2
include/SDL3/SDL.h

@@ -79,5 +79,3 @@
 #include <SDL3/SDL_oldnames.h>
 
 #endif /* SDL_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_assert.h

@@ -316,5 +316,3 @@ extern DECLSPEC void SDLCALL SDL_ResetAssertionReport(void);
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_assert_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_atomic.h

@@ -406,5 +406,3 @@ extern DECLSPEC void* SDLCALL SDL_AtomicGetPtr(void **a);
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_atomic_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_audio.h

@@ -1496,5 +1496,3 @@ extern DECLSPEC void SDLCALL SDL_CloseAudioDevice(SDL_AudioDeviceID dev);
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_audio_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_bits.h

@@ -122,5 +122,3 @@ SDL_HasExactlyOneBitSet32(Uint32 x)
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_bits_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_blendmode.h

@@ -194,5 +194,3 @@ extern DECLSPEC SDL_BlendMode SDLCALL SDL_ComposeCustomBlendMode(SDL_BlendFactor
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_blendmode_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_clipboard.h

@@ -137,5 +137,3 @@ extern DECLSPEC SDL_bool SDLCALL SDL_HasPrimarySelectionText(void);
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_clipboard_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_cpuinfo.h

@@ -464,5 +464,3 @@ extern DECLSPEC void SDLCALL SDL_SIMDFree(void *ptr);
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_cpuinfo_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_endian.h

@@ -344,5 +344,3 @@ SDL_SwapFloat(float x)
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_endian_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_error.h

@@ -159,5 +159,3 @@ extern DECLSPEC int SDLCALL SDL_Error(SDL_errorcode code);
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_error_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_events.h

@@ -1148,5 +1148,3 @@ extern DECLSPEC Uint32 SDLCALL SDL_RegisterEvents(int numevents);
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_events_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_filesystem.h

@@ -145,5 +145,3 @@ extern DECLSPEC char *SDLCALL SDL_GetPrefPath(const char *org, const char *app);
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_filesystem_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_gamecontroller.h

@@ -1051,5 +1051,3 @@ extern DECLSPEC const char* SDLCALL SDL_GameControllerGetAppleSFSymbolsNameForAx
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_gamecontroller_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_guid.h

@@ -96,5 +96,3 @@ extern DECLSPEC SDL_GUID SDLCALL SDL_GUIDFromString(const char *pchGUID);
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_guid_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_haptic.h

@@ -1337,5 +1337,3 @@ extern DECLSPEC int SDLCALL SDL_HapticRumbleStop(SDL_Haptic * haptic);
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_haptic_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_hidapi.h

@@ -447,5 +447,3 @@ extern DECLSPEC void SDLCALL SDL_hid_ble_scan(SDL_bool active);
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_hidapi_h_ */
-
-/* vi: set sts=4 ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_hints.h

@@ -2574,5 +2574,3 @@ extern DECLSPEC void SDLCALL SDL_ClearHints(void);
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_hints_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_init.h

@@ -195,5 +195,3 @@ extern DECLSPEC void SDLCALL SDL_Quit(void);
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_init_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_joystick.h

@@ -1026,5 +1026,3 @@ extern DECLSPEC SDL_JoystickPowerLevel SDLCALL SDL_JoystickCurrentPowerLevel(SDL
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_joystick_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_keyboard.h

@@ -349,5 +349,3 @@ extern DECLSPEC SDL_bool SDLCALL SDL_IsScreenKeyboardShown(SDL_Window *window);
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_keyboard_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_keycode.h

@@ -354,5 +354,3 @@ typedef enum
 } SDL_Keymod;
 
 #endif /* SDL_keycode_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_loadso.h

@@ -111,5 +111,3 @@ extern DECLSPEC void SDLCALL SDL_UnloadObject(void *handle);
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_loadso_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_locale.h

@@ -99,5 +99,3 @@ extern DECLSPEC SDL_Locale * SDLCALL SDL_GetPreferredLocales(void);
 #include <SDL3/SDL_close_code.h>
 
 #endif /* _SDL_locale_h */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_log.h

@@ -400,5 +400,3 @@ extern DECLSPEC void SDLCALL SDL_LogSetOutputFunction(SDL_LogOutputFunction call
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_log_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_main.h

@@ -305,5 +305,3 @@ extern DECLSPEC void SDLCALL SDL_GDKSuspendComplete(void);
 #endif /* SDL_MAIN_HANDLED */
 
 #endif /* SDL_main_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_main_impl.h

@@ -198,5 +198,3 @@ int main(int argc, char *argv[])
 #endif /* SDL_MAIN_HANDLED */
 
 #endif /* SDL_main_windows_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_messagebox.h

@@ -189,5 +189,3 @@ extern DECLSPEC int SDLCALL SDL_ShowSimpleMessageBox(Uint32 flags, const char *t
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_messagebox_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_misc.h

@@ -75,5 +75,3 @@ extern DECLSPEC int SDLCALL SDL_OpenURL(const char *url);
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_misc_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_mouse.h

@@ -466,5 +466,3 @@ extern DECLSPEC int SDLCALL SDL_ShowCursor(int toggle);
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_mouse_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_mutex.h

@@ -541,5 +541,3 @@ extern DECLSPEC int SDLCALL SDL_CondWaitTimeout(SDL_cond *cond,
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_mutex_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_name.h

@@ -29,5 +29,3 @@
 #define SDL_NAME(X) SDL_##X
 
 #endif /* SDLname_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_oldnames.h

@@ -110,5 +110,3 @@
 #endif /* SDL_ENABLE_OLD_NAMES */
 
 #endif /* SDL_oldnames_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_opengl.h

@@ -2121,5 +2121,3 @@ typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLsh
 #endif /* !__IOS__ */
 
 #endif /* SDL_opengl_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_pixels.h

@@ -617,5 +617,3 @@ extern DECLSPEC void SDLCALL SDL_GetRGBA(Uint32 pixel,
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_pixels_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_platform.h

@@ -238,5 +238,3 @@ extern DECLSPEC const char * SDLCALL SDL_GetPlatform (void);
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_platform_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_power.h

@@ -83,5 +83,3 @@ extern DECLSPEC SDL_PowerState SDLCALL SDL_GetPowerInfo(int *seconds, int *perce
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_power_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_rect.h

@@ -372,5 +372,3 @@ extern DECLSPEC SDL_bool SDLCALL SDL_IntersectFRectAndLine(const SDL_FRect *
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_rect_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_render.h

@@ -1932,5 +1932,3 @@ extern DECLSPEC int SDLCALL SDL_RenderSetVSync(SDL_Renderer* renderer, int vsync
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_render_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_rwops.h

@@ -808,5 +808,3 @@ extern DECLSPEC size_t SDLCALL SDL_WriteBE64(SDL_RWops * dst, Uint64 value);
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_rwops_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_scancode.h

@@ -434,5 +434,3 @@ typedef enum
 } SDL_Scancode;
 
 #endif /* SDL_scancode_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_sensor.h

@@ -301,5 +301,3 @@ extern DECLSPEC void SDLCALL SDL_SensorUpdate(void);
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_sensor_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_stdinc.h

@@ -743,5 +743,3 @@ SDL_FORCE_INLINE int _SDL_size_add_overflow_builtin (size_t a,
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_stdinc_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_surface.h

@@ -885,5 +885,3 @@ extern DECLSPEC SDL_YUV_CONVERSION_MODE SDLCALL SDL_GetYUVConversionModeForResol
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_surface_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_system.h

@@ -619,5 +619,3 @@ extern DECLSPEC int SDLCALL SDL_GDKGetTaskQueue(XTaskQueueHandle * outTaskQueue)
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_system_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_syswm.h

@@ -264,5 +264,3 @@ extern DECLSPEC int SDLCALL SDL_GetWindowWMInfo(SDL_Window *window, SDL_SysWMinf
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_syswm_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_test.h

@@ -65,5 +65,3 @@ extern "C" {
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_test_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_test_assert.h

@@ -101,5 +101,3 @@ int SDLTest_AssertSummaryToTestResult(void);
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_test_assert_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_test_common.h

@@ -232,5 +232,3 @@ void SDLTest_CommonDrawWindowInfo(SDL_Renderer * renderer, SDL_Window * window,
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_test_common_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_test_compare.h

@@ -65,5 +65,3 @@ int SDLTest_CompareSurfaces(SDL_Surface *surface, SDL_Surface *referenceSurface,
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_test_compare_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_test_crc32.h

@@ -120,5 +120,3 @@ int SDLTest_Crc32Done(SDLTest_Crc32Context * crcContext);
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_test_crc32_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_test_font.h

@@ -164,5 +164,3 @@ void SDLTest_CleanupTextDrawing(void);
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_test_font_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_test_fuzzer.h

@@ -382,5 +382,3 @@ int SDLTest_GetFuzzerInvocationCount(void);
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_test_fuzzer_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_test_harness.h

@@ -130,5 +130,3 @@ int SDLTest_RunSuites(SDLTest_TestSuiteReference *testSuites[], const char *user
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_test_h_arness_h */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_test_images.h

@@ -74,5 +74,3 @@ SDL_Surface *SDLTest_ImagePrimitivesBlend(void);
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_test_images_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_test_log.h

@@ -63,5 +63,3 @@ void SDLTest_LogError(SDL_PRINTF_FORMAT_STRING const char *fmt, ...) SDL_PRINTF_
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_test_log_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_test_md5.h

@@ -125,5 +125,3 @@ extern "C" {
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_test_md5_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_test_memory.h

@@ -59,5 +59,3 @@ void SDLTest_LogAllocations(void);
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_test_memory_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_test_random.h

@@ -111,5 +111,3 @@ extern "C" {
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_test_random_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_thread.h

@@ -417,5 +417,3 @@ extern DECLSPEC void SDLCALL SDL_TLSCleanup(void);
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_thread_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_timer.h

@@ -196,5 +196,3 @@ extern DECLSPEC SDL_bool SDLCALL SDL_RemoveTimer(SDL_TimerID id);
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_timer_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_touch.h

@@ -144,5 +144,3 @@ extern DECLSPEC SDL_Finger * SDLCALL SDL_GetTouchFinger(SDL_TouchID touchID, int
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_touch_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_version.h

@@ -159,5 +159,3 @@ extern DECLSPEC const char *SDLCALL SDL_GetRevision(void);
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_version_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/SDL3/SDL_video.h

@@ -2083,5 +2083,3 @@ extern DECLSPEC void SDLCALL SDL_GL_DeleteContext(SDL_GLContext context);
 #include <SDL3/SDL_close_code.h>
 
 #endif /* SDL_video_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/build_config/SDL_build_config_windows.h

@@ -304,5 +304,3 @@ typedef unsigned int uintptr_t;
 #define SDL_FILESYSTEM_WINDOWS  1
 
 #endif /* SDL_build_config_windows_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/build_config/SDL_build_config_wingdk.h

@@ -244,5 +244,3 @@
 #define SDL_FILESYSTEM_WINDOWS  1
 
 #endif /* SDL_build_config_wingdk_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
include/build_config/SDL_build_config_xbox.h

@@ -231,5 +231,3 @@
 #define SDL_DISABLE_WINDOWS_IME 1
 
 #endif /* SDL_build_config_wingdk_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
src/SDL.c

@@ -623,5 +623,3 @@ _DllMainCRTStartup(HANDLE hModule,
 #endif /* Building DLL */
 
 #endif /* defined(__WIN32__) || defined(__GDK__) */
-
-/* vi: set sts=4 ts=4 sw=4 expandtab: */

+ 0 - 2
src/SDL_assert.c

@@ -445,5 +445,3 @@ SDL_AssertionHandler SDL_GetAssertionHandler(void **userdata)
     }
     return assertion_handler;
 }
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
src/SDL_assert_c.h

@@ -26,5 +26,3 @@
 extern void SDL_AssertionsQuit(void);
 
 #endif /* SDL_assert_c_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
src/SDL_dataqueue.c

@@ -325,5 +325,3 @@ SDL_ReserveSpaceInDataQueue(SDL_DataQueue *queue, const size_t len)
     queue->queued_bytes += len;
     return packet->data;
 }
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
src/SDL_dataqueue.h

@@ -50,5 +50,3 @@ size_t SDL_CountDataQueue(SDL_DataQueue *queue);
 void *SDL_ReserveSpaceInDataQueue(SDL_DataQueue *queue, const size_t len);
 
 #endif /* SDL_dataqueue_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
src/SDL_error.c

@@ -120,5 +120,3 @@ SDL_GetErrorMsg(char *errstr, int maxlen)
 
     return errstr;
 }
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
src/SDL_error_c.h

@@ -40,5 +40,3 @@ typedef struct SDL_error
 extern SDL_error *SDL_GetErrBuf(void);
 
 #endif /* SDL_error_c_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
src/SDL_hints.c

@@ -300,5 +300,3 @@ void SDL_ClearHints(void)
         SDL_free(hint);
     }
 }
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
src/SDL_hints_c.h

@@ -28,5 +28,3 @@
 extern SDL_bool SDL_GetStringBoolean(const char *value, SDL_bool default_value);
 
 #endif /* SDL_hints_c_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
src/SDL_internal.h

@@ -202,5 +202,3 @@ extern DECLSPEC int SDLCALL SDL_WaitEventTimeoutNS(SDL_Event *event, Sint64 time
 #endif
 
 #endif /* SDL_internal_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
src/SDL_intrin.h

@@ -113,5 +113,3 @@ _m_prefetch(void *__P)
 #endif /* HAVE_IMMINTRIN_H */
 
 #endif /* SDL_intrin_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
src/SDL_list.c

@@ -84,5 +84,3 @@ void SDL_ListClear(SDL_ListNode **head)
         SDL_free(tmp);
     }
 }
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
src/SDL_list.h

@@ -34,5 +34,3 @@ void SDL_ListRemove(SDL_ListNode **head, void *ent);
 void SDL_ListClear(SDL_ListNode **head);
 
 #endif /* SDL_list_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
src/SDL_log.c

@@ -501,5 +501,3 @@ void SDL_LogSetOutputFunction(SDL_LogOutputFunction callback, void *userdata)
     SDL_log_function = callback;
     SDL_log_userdata = userdata;
 }
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
src/SDL_log_c.h

@@ -29,5 +29,3 @@ extern void SDL_LogInit(void);
 extern void SDL_LogQuit(void);
 
 #endif /* SDL_log_c_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
src/SDL_utils.c

@@ -48,5 +48,3 @@ int SDL_powerof2(int x)
 
     return value;
 }
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
src/SDL_utils_c.h

@@ -29,5 +29,3 @@
 int SDL_powerof2(int x);
 
 #endif /* SDL_utils_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
src/atomic/SDL_atomic.c

@@ -303,5 +303,3 @@ void SDL_MemoryBarrierAcquireFunction(void)
 {
     SDL_MemoryBarrierAcquire();
 }
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
src/atomic/SDL_spinlock.c

@@ -206,5 +206,3 @@ void SDL_AtomicUnlock(SDL_SpinLock *lock)
     *lock = 0;
 #endif
 }
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
src/audio/SDL_audio.c

@@ -1722,5 +1722,3 @@ void SDL_MixAudio(Uint8 *dst, const Uint8 *src, Uint32 len, int volume)
         SDL_MixAudioFormat(dst, src, device->callbackspec.format, len, volume);
     }
 }
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
src/audio/SDL_audio_c.h

@@ -72,5 +72,3 @@ extern SDL_AudioFilter SDL_Convert_F32_to_U16;
 extern SDL_AudioFilter SDL_Convert_F32_to_S32;
 
 #endif /* SDL_audio_c_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
src/audio/SDL_audio_channel_converters.h

@@ -1398,5 +1398,3 @@ static const SDL_AudioFilter channel_converters[8][8] = { /* [from][to] */
                                                           { SDL_Convert61ToMono, SDL_Convert61ToStereo, SDL_Convert61To21, SDL_Convert61ToQuad, SDL_Convert61To41, SDL_Convert61To51, NULL, SDL_Convert61To71 },
                                                           { SDL_Convert71ToMono, SDL_Convert71ToStereo, SDL_Convert71To21, SDL_Convert71ToQuad, SDL_Convert71To41, SDL_Convert71To51, SDL_Convert71To61, NULL }
 };
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
src/audio/SDL_audio_resampler_filter.h

@@ -1057,5 +1057,3 @@ static const float ResamplerFilterDifference[RESAMPLER_FILTER_SIZE] = {
     -0.000001176f, -0.000001149f, -0.000001123f, -0.000001096f, -0.000001070f,
     0.000000000f
 };
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
src/audio/SDL_audiocvt.c

@@ -1405,5 +1405,3 @@ void SDL_FreeAudioStream(SDL_AudioStream *stream)
         SDL_free(stream);
     }
 }
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
src/audio/SDL_audiodev.c

@@ -123,5 +123,3 @@ void SDL_EnumUnixAudioDevices(const int classic, int (*test)(int))
 }
 
 #endif /* Audio driver selection */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
src/audio/SDL_audiodev_c.h

@@ -39,5 +39,3 @@
 extern void SDL_EnumUnixAudioDevices(const int classic, int (*test)(int));
 
 #endif /* SDL_audiodev_c_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
src/audio/SDL_audiotypecvt.c

@@ -1484,5 +1484,3 @@ void SDL_ChooseAudioConverters(void)
 
     SDL_assert(converters_chosen == SDL_TRUE);
 }
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
src/audio/SDL_mixer.c

@@ -338,5 +338,3 @@ void SDL_MixAudioFormat(Uint8 *dst, const Uint8 *src, SDL_AudioFormat format,
         return;
     }
 }
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
src/audio/SDL_sysaudio.h

@@ -200,5 +200,3 @@ extern AudioBootStrap N3DSAUDIO_bootstrap;
 extern AudioBootStrap EMSCRIPTENAUDIO_bootstrap;
 
 #endif /* SDL_sysaudio_h_ */
-
-/* vi: set ts=4 sw=4 expandtab: */

+ 0 - 2
src/audio/SDL_wave.c

@@ -2132,5 +2132,3 @@ void SDL_FreeWAV(Uint8 *audio_buf)
 {
     SDL_free(audio_buf);
 }
-
-/* vi: set ts=4 sw=4 expandtab: */

Některé soubory nejsou zobrazeny, neboť je v těchto rozdílových datech změněno mnoho souborů