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

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

View File

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

View File

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

View File

@@ -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. 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 ## SDL_cpuinfo.h

View File

@@ -79,5 +79,3 @@
#include <SDL3/SDL_oldnames.h> #include <SDL3/SDL_oldnames.h>
#endif /* SDL_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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_assert_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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_atomic_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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_audio_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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_bits_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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_blendmode_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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_clipboard_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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_cpuinfo_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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_endian_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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_error_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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_events_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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_filesystem_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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_gamecontroller_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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_guid_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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_haptic_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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_hidapi_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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_hints_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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_init_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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_joystick_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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_keyboard_h_ */ #endif /* SDL_keyboard_h_ */
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -354,5 +354,3 @@ typedef enum
} SDL_Keymod; } SDL_Keymod;
#endif /* SDL_keycode_h_ */ #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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_loadso_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> #include <SDL3/SDL_close_code.h>
#endif /* _SDL_locale_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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_log_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_HANDLED */
#endif /* SDL_main_h_ */ #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_HANDLED */
#endif /* SDL_main_windows_h_ */ #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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_messagebox_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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_misc_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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_mouse_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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_mutex_h_ */ #endif /* SDL_mutex_h_ */
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -29,5 +29,3 @@
#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: */

View File

@@ -110,5 +110,3 @@
#endif /* SDL_ENABLE_OLD_NAMES */ #endif /* SDL_ENABLE_OLD_NAMES */
#endif /* SDL_oldnames_h_ */ #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 /* !__IOS__ */
#endif /* SDL_opengl_h_ */ #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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_pixels_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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_platform_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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_power_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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_rect_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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_render_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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_rwops_h_ */ #endif /* SDL_rwops_h_ */
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -434,5 +434,3 @@ typedef enum
} SDL_Scancode; } SDL_Scancode;
#endif /* SDL_scancode_h_ */ #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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_sensor_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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_stdinc_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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_surface_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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_system_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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_syswm_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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_test_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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_test_assert_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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_test_common_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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_test_compare_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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_test_crc32_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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_test_font_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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_test_fuzzer_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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_test_h_arness_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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_test_images_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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_test_log_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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_test_md5_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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_test_memory_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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_test_random_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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_thread_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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_timer_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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_touch_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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_version_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> #include <SDL3/SDL_close_code.h>
#endif /* SDL_video_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 #define SDL_FILESYSTEM_WINDOWS 1
#endif /* SDL_build_config_windows_h_ */ #endif /* SDL_build_config_windows_h_ */
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -244,5 +244,3 @@
#define SDL_FILESYSTEM_WINDOWS 1 #define SDL_FILESYSTEM_WINDOWS 1
#endif /* SDL_build_config_wingdk_h_ */ #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 #define SDL_DISABLE_WINDOWS_IME 1
#endif /* SDL_build_config_wingdk_h_ */ #endif /* SDL_build_config_wingdk_h_ */
/* vi: set ts=4 sw=4 expandtab: */

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -40,5 +40,3 @@ typedef struct SDL_error
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: */

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -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); SDL_MixAudioFormat(dst, src, device->callbackspec.format, len, volume);
} }
} }
/* vi: set ts=4 sw=4 expandtab: */

View File

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

View File

@@ -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_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 } { SDL_Convert71ToMono, SDL_Convert71ToStereo, SDL_Convert71To21, SDL_Convert71ToQuad, SDL_Convert71To41, SDL_Convert71To51, SDL_Convert71To61, NULL }
}; };
/* vi: set ts=4 sw=4 expandtab: */

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

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