include: Make function pointer params into typedefs.

This is easier to read and document in general, but will also make some
new parsing work in wikiheaders much easier.
This commit is contained in:
Ryan C. Gordon committed 2024-06-11 12:22:46 -04:00
1 parent 391a63f29f
commit 96f2ef77ab
5 files changed
+38 -23

No files matched your search

+1 -1
View File
@@ -43,7 +43,7 @@ void *SDL_GetTLS(SDL_TLSID id)
return storage->array[id - 1].data;
}
int SDL_SetTLS(SDL_TLSID id, const void *value, void(SDLCALL *destructor)(void *))
int SDL_SetTLS(SDL_TLSID id, const void *value, SDL_TLSDestructorCallback destructor)
{
SDL_TLSData *storage;