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
2024-06-11 12:17:22 -04:00
parent 391a63f29f
commit 96f2ef77ab
5 changed files with 38 additions and 23 deletions

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;