SDL2/src
Sam Lantinga 5750bcb174
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
2022-11-30 12:51:59 -08:00
..
atomic Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
audio Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
core Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
cpuinfo Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
dynapi Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
events Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
file Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
filesystem Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
haptic Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
hidapi Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
joystick Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
libm Added precompiled header support for Visual Studio and Xcode (#6710) 2022-11-29 18:34:15 -08:00
loadso Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
locale Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
main Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
misc Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
power Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
render Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
sensor Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
stdlib Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
test Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
thread Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
timer Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
video Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
SDL.c Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
SDL_assert.c Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
SDL_assert_c.h Added precompiled header support for Visual Studio and Xcode (#6710) 2022-11-29 18:34:15 -08:00
SDL_dataqueue.c Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
SDL_dataqueue.h Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
SDL_error.c Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
SDL_error_c.h Added precompiled header support for Visual Studio and Xcode (#6710) 2022-11-29 18:34:15 -08:00
SDL_guid.c Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
SDL_hints.c Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
SDL_hints_c.h Added precompiled header support for Visual Studio and Xcode (#6710) 2022-11-29 18:34:15 -08:00
SDL_internal.h Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
SDL_list.c Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
SDL_list.h Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
SDL_log.c Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
SDL_log_c.h Added precompiled header support for Visual Studio and Xcode (#6710) 2022-11-29 18:34:15 -08:00
SDL_utils.c Fixed declaration-after-statement warning 2022-07-18 07:31:23 -07:00
SDL_utils_c.h Added precompiled header support for Visual Studio and Xcode (#6710) 2022-11-29 18:34:15 -08:00