SDL2/src
Sam Lantinga b8d85c6939 Update for SDL3 coding style (#6717)
I updated .clang-format and ran clang-format 14 over the src and test directories to standardize the code base.

In general I let clang-format have it's way, and added markup to prevent formatting of code that would break or be completely unreadable if formatted.

The script I ran for the src directory is added as build-scripts/clang-format-src.sh

This fixes:
#6592
#6593
#6594

(cherry picked from commit 5750bcb174)
2022-11-30 12:57:41 -08:00
..
atomic Update for SDL3 coding style (#6717) 2022-11-30 12:57:41 -08:00
audio Update for SDL3 coding style (#6717) 2022-11-30 12:57:41 -08:00
core Update for SDL3 coding style (#6717) 2022-11-30 12:57:41 -08:00
cpuinfo Update for SDL3 coding style (#6717) 2022-11-30 12:57:41 -08:00
dynapi Update for SDL3 coding style (#6717) 2022-11-30 12:57:41 -08:00
events Update for SDL3 coding style (#6717) 2022-11-30 12:57:41 -08:00
file Update for SDL3 coding style (#6717) 2022-11-30 12:57:41 -08:00
filesystem Update for SDL3 coding style (#6717) 2022-11-30 12:57:41 -08:00
haptic Update for SDL3 coding style (#6717) 2022-11-30 12:57:41 -08:00
hidapi Update for SDL3 coding style (#6717) 2022-11-30 12:57:41 -08:00
joystick Update for SDL3 coding style (#6717) 2022-11-30 12:57:41 -08:00
libm N3DS port (squashed) 2022-10-10 08:50:59 -07:00
loadso Update for SDL3 coding style (#6717) 2022-11-30 12:57:41 -08:00
locale Update for SDL3 coding style (#6717) 2022-11-30 12:57:41 -08:00
main Update for SDL3 coding style (#6717) 2022-11-30 12:57:41 -08:00
misc Update for SDL3 coding style (#6717) 2022-11-30 12:57:41 -08:00
power Update for SDL3 coding style (#6717) 2022-11-30 12:57:41 -08:00
render Update for SDL3 coding style (#6717) 2022-11-30 12:57:41 -08:00
sensor Update for SDL3 coding style (#6717) 2022-11-30 12:57:41 -08:00
stdlib Update for SDL3 coding style (#6717) 2022-11-30 12:57:41 -08:00
test Update for SDL3 coding style (#6717) 2022-11-30 12:57:41 -08:00
thread Update for SDL3 coding style (#6717) 2022-11-30 12:57:41 -08:00
timer Update for SDL3 coding style (#6717) 2022-11-30 12:57:41 -08:00
video Update for SDL3 coding style (#6717) 2022-11-30 12:57:41 -08:00
SDL.c Update for SDL3 coding style (#6717) 2022-11-30 12:57:41 -08:00
SDL_assert.c Update for SDL3 coding style (#6717) 2022-11-30 12:57:41 -08:00
SDL_assert_c.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_dataqueue.c Update for SDL3 coding style (#6717) 2022-11-30 12:57:41 -08:00
SDL_dataqueue.h Update for SDL3 coding style (#6717) 2022-11-30 12:57:41 -08:00
SDL_error.c Update for SDL3 coding style (#6717) 2022-11-30 12:57:41 -08:00
SDL_error_c.h Removed the limit on the size of the SDL error message 2022-06-27 16:59:50 -07:00
SDL_guid.c Update for SDL3 coding style (#6717) 2022-11-30 12:57:41 -08:00
SDL_hints.c Update for SDL3 coding style (#6717) 2022-11-30 12:57:41 -08:00
SDL_hints_c.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_internal.h Update for SDL3 coding style (#6717) 2022-11-30 12:57:41 -08:00
SDL_list.c Update for SDL3 coding style (#6717) 2022-11-30 12:57:41 -08:00
SDL_list.h Update for SDL3 coding style (#6717) 2022-11-30 12:57:41 -08:00
SDL_log.c Update for SDL3 coding style (#6717) 2022-11-30 12:57:41 -08:00
SDL_log_c.h Added declaration of SDL_LogInit() and SDL_LogQuit() 2022-04-28 15:01:34 -07:00
SDL_utils.c Fixed declaration-after-statement warning 2022-07-18 07:31:23 -07:00
SDL_utils_c.h Fixed comment (thanks @pionere!) 2022-07-18 07:18:56 -07:00