macOS RAII trace guards (#2150)
* Add TraceGuard to make tracing simpler * Add SharedStateMutexGuard to make tracing simpler * Add trace_scope macro * Add missing let binding in trace_scope!
This commit is contained in:
parent
51bb6b751e
commit
9229e2d88b
7 changed files with 176 additions and 135 deletions
|
|
@ -1,5 +1,8 @@
|
|||
#![cfg(target_os = "macos")]
|
||||
|
||||
#[macro_use]
|
||||
mod util;
|
||||
|
||||
mod app;
|
||||
mod app_delegate;
|
||||
mod app_state;
|
||||
|
|
@ -9,7 +12,6 @@ mod ffi;
|
|||
mod menu;
|
||||
mod monitor;
|
||||
mod observer;
|
||||
mod util;
|
||||
mod view;
|
||||
mod window;
|
||||
mod window_delegate;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue