Now set_error_callback(), set_monitor_callback() and set_joystick_callback() accept FnMut's as arguments as opposed to having to initialize a struct with a function and user data. They now also have corresponding unset functions: unset_error_callback(), unset_monitor_callback() and unset_joystick_callback().
Now
set_error_callback()
,set_monitor_callback()
andset_joystick_callback()
acceptFnMut
's as arguments as opposed to having to initialize a struct with a function and user data. They now also have corresponding unset functions:unset_error_callback()
,unset_monitor_callback()
andunset_joystick_callback()
.