SDL/src
Sam Lantinga e9b86eebf3 Functions which return function pointers now return SDL_FunctionPointer instead of void*
This fixes the clang warning "Cast between pointer-to-function and pointer-to-object is an extension"

You can define SDL_FUNCTION_POINTER_IS_VOID_POINTER in your project to restore the previous behavior.

Fixes https://github.com/libsdl-org/SDL/issues/2866
2023-01-09 15:46:21 -08:00
..
atomic Updated copyright for 2023 2023-01-09 09:41:41 -08:00
audio Functions which return function pointers now return SDL_FunctionPointer instead of void* 2023-01-09 15:46:21 -08:00
core Functions which return function pointers now return SDL_FunctionPointer instead of void* 2023-01-09 15:46:21 -08:00
cpuinfo Updated copyright for 2023 2023-01-09 09:41:41 -08:00
dynapi Functions which return function pointers now return SDL_FunctionPointer instead of void* 2023-01-09 15:46:21 -08:00
events Updated copyright for 2023 2023-01-09 09:41:41 -08:00
file Updated copyright for 2023 2023-01-09 09:41:41 -08:00
filesystem Updated copyright for 2023 2023-01-09 09:41:41 -08:00
haptic Updated copyright for 2023 2023-01-09 09:41:41 -08:00
hidapi Updated copyright for 2023 2023-01-09 09:41:41 -08:00
joystick Updated copyright for 2023 2023-01-09 09:41:41 -08:00
libm Updated copyright for 2023 2023-01-09 09:41:41 -08:00
loadso Functions which return function pointers now return SDL_FunctionPointer instead of void* 2023-01-09 15:46:21 -08:00
locale Updated copyright for 2023 2023-01-09 09:41:41 -08:00
main/winrt Remove SDL3_main from build systems, remove most of src/main/* 2022-12-15 08:01:01 -08:00
misc Updated copyright for 2023 2023-01-09 09:41:41 -08:00
power Updated copyright for 2023 2023-01-09 09:41:41 -08:00
render Functions which return function pointers now return SDL_FunctionPointer instead of void* 2023-01-09 15:46:21 -08:00
sensor Updated copyright for 2023 2023-01-09 09:41:41 -08:00
stdlib Updated copyright for 2023 2023-01-09 09:41:41 -08:00
test Updated copyright for 2023 2023-01-09 09:41:41 -08:00
thread Updated copyright for 2023 2023-01-09 09:41:41 -08:00
timer Updated copyright for 2023 2023-01-09 09:41:41 -08:00
video Functions which return function pointers now return SDL_FunctionPointer instead of void* 2023-01-09 15:46:21 -08:00
SDL.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_assert.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_assert_c.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_dataqueue.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_dataqueue.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_error.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_error_c.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_guid.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_hints.c SDL_AddHintCallback() now returns a standard int result instead of void 2023-01-09 12:09:30 -08:00
SDL_hints_c.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_internal.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_intrin.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_list.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_list.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_log.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_log_c.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_utils.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_utils_c.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00