SDL2/src/loadso
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
..
dlopen Functions which return function pointers now return SDL_FunctionPointer instead of void* 2023-01-09 15:46:21 -08:00
dummy Functions which return function pointers now return SDL_FunctionPointer instead of void* 2023-01-09 15:46:21 -08:00
windows Functions which return function pointers now return SDL_FunctionPointer instead of void* 2023-01-09 15:46:21 -08:00