mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-24 21:49:10 +00:00
loadso: library handles are now SDL_SharedObject*
instead of void*
.
Improved the SDL_loadso.h documentation a little, too. Fixes #11009.
This commit is contained in:
parent
f351395c46
commit
0b5e01a305
38 changed files with 102 additions and 73 deletions
|
@ -1104,6 +1104,8 @@ The following symbols have been renamed:
|
|||
|
||||
## SDL_loadso.h
|
||||
|
||||
Shared object handles are now `SDL_SharedObject *`, an opaque type, instead of `void *`. This is just for type-safety and there is no functional difference.
|
||||
|
||||
SDL_LoadFunction() now returns `SDL_FunctionPointer` instead of `void *`, and should be cast to the appropriate function type. You can define SDL_FUNCTION_POINTER_IS_VOID_POINTER in your project to restore the previous behavior.
|
||||
|
||||
## SDL_log.h
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue