If the result of add_timer is unused, the timer will be dropped immediately and the callback won't fire. A small gotcha but can save some debugging time.
It should now be what the old behaviour was. If either mac_framework
or use_mac_framework feature is set then it will use kind=framework, if
not then it will use normal library name link argument.
I'm not sure if this is the intended way of using bindgen, but the
SDL_image bindings now piggy-back on the core SDL bindings by
blacklisting some types that gets dragged into the image module.
The solution probably does not scale, but it might be preferable to have
autoupdateable bindings rather than having to do it manually.
Progresses on #647
Closes#744
Defines were not set correctly as target matching was wrong.
Removed hide_type deprecated binding builder method use, in favor of
blacklist_type.
Added rustified_enum call, since newer bindgen versions will make
constants instead of enums breaking the sdl2-sys crate.
Bindings were regenerated using the following command:
cargo build --features bindgen