← Back to context

Comment by randomNumber7

8 days ago

These look mostly like toy examples where the type of the pointer can be inferred from the return values of the functions.

How do I call this function in swift?

SDL_AudioSpec* SDL_LoadWAV_RW(SDL_RWops * src, int freesrc, SDL_AudioSpec * spec, Uint8 * * audio_buf, Uint32 * audio_len);