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
This commit is contained in:
Sam Lantinga
2022-12-26 11:17:23 -08:00
parent 7c67213cef
commit 63724c113b
909 changed files with 1 additions and 1808 deletions

View File

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

View File

@@ -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: */

View File

@@ -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: */

View File

@@ -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: */

View File

@@ -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: */

View File

@@ -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: */

View File

@@ -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: */

View File

@@ -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: */

View File

@@ -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: */

View File

@@ -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: */

View File

@@ -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: */

View File

@@ -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: */

View File

@@ -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: */

View File

@@ -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: */

View File

@@ -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: */

View File

@@ -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: */

View File

@@ -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: */

View File

@@ -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: */

View File

@@ -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: */

View File

@@ -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: */

View File

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

View File

@@ -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: */

View File

@@ -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: */

View File

@@ -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: */

View File

@@ -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: */

View File

@@ -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: */

View File

@@ -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: */

View File

@@ -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: */

View File

@@ -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: */

View File

@@ -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: */

View File

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

View File

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

View File

@@ -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: */

View File

@@ -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: */

View File

@@ -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: */

View File

@@ -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: */

View File

@@ -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: */

View File

@@ -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: */

View File

@@ -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: */

View File

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

View File

@@ -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: */

View File

@@ -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: */

View File

@@ -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: */

View File

@@ -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: */

View File

@@ -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: */

View File

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

View File

@@ -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: */

View File

@@ -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: */

View File

@@ -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: */

View File

@@ -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: */

View File

@@ -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: */

View File

@@ -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: */

View File

@@ -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: */

View File

@@ -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: */

View File

@@ -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: */

View File

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

View File

@@ -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: */

View File

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

View File

@@ -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: */

View File

@@ -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: */

View File

@@ -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: */

View File

@@ -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: */

View File

@@ -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: */

View File

@@ -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: */

View File

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

View File

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