mixGetMusicHookData function
Get a pointer to the user data for the current music hook.
This returns the arg
pointer last passed to Mix_HookMusic(), or NULL if
that function has never been called.
\returns pointer to the user data previously passed to Mix_HookMusic.
\since This function is available since SDL_mixer 3.0.0.
extern SDL_DECLSPEC void * SDLCALL Mix_GetMusicHookData(void)
Implementation
Pointer<NativeType> mixGetMusicHookData() {
final mixGetMusicHookDataLookupFunction = libSdl3Mixer.lookupFunction<
Pointer<NativeType> Function(),
Pointer<NativeType> Function()>('Mix_GetMusicHookData');
return mixGetMusicHookDataLookupFunction();
}