Skip to content

0.2.3

Compare
Choose a tag to compare
@Enet4 Enet4 released this 17 Mar 21:34
· 38 commits to main since this release

Fixes

  • Added null pointer checks in create_sound, as passing invalid parameters returns a null pointer and attempting to use the Sound value could lead to undefined behavior. Instead, this function panics. try_create_sound was added, which returns an Option<_> instead.

Enhancements

  • Memory layout of resource types Sound, Music and Image were changed to take advantage of the fact that the raw pointer is never null.

Full Changelog: 0.2.2...0.2.3