winit-sonoma-fix/src/platform/macos
mitchmindtree 3ce7904e01 Wrap the temporarily stored user callback in a type to enforce
invariants

This also removes the need for "box"ing the callback in favour of
storing a raw `*mut` pointer. We can do this by ensuring that we never
store the pointer for longer than the lifetime of the user callback,
which is the duration of a call to `poll_events` or `run_forever`.

Also removes old commented out event code from the window module.
2017-02-05 12:51:09 +11:00
..
events_loop.rs Wrap the temporarily stored user callback in a type to enforce 2017-02-05 12:51:09 +11:00
mod.rs Update the macOS backend to the new futures-compatible API. 2017-02-03 23:05:57 +11:00
monitor.rs Fix iOS build and add to Travis CI 2016-12-13 07:29:17 -06:00
window.rs Wrap the temporarily stored user callback in a type to enforce 2017-02-05 12:51:09 +11:00