macOS: Refactor event handler storage (#3532)
This makes our use of `unsafe` to make the event handler temporarily 'static be local to a module, in a way that's (hopefully) much easier to reason about.
This commit is contained in:
parent
a4480a0652
commit
a5dbd3ee52
4 changed files with 213 additions and 234 deletions
|
|
@ -5,6 +5,7 @@ mod app;
|
|||
mod app_delegate;
|
||||
mod cursor;
|
||||
mod event;
|
||||
mod event_handler;
|
||||
mod event_loop;
|
||||
mod ffi;
|
||||
mod menu;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue