Use #[repr(C)] for enums
Fix callbacks after ~fn removal
Fix link errors in examples
Remove old `fixed_stack_segment` attributes
Merge pull request #49 from bjz/fix-callbacks

WIP: Fix callbacks after ~fn removal. Fixes #48