Skip to content

Commit

Permalink
Horribly broken so far
Browse files Browse the repository at this point in the history
  • Loading branch information
francesca64 committed Dec 8, 2018
1 parent 8269ed2 commit 8c86202
Show file tree
Hide file tree
Showing 9 changed files with 1,228 additions and 1,221 deletions.
4 changes: 2 additions & 2 deletions src/event_loop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ use monitor::{AvailableMonitorsIter, MonitorHandle};
/// `EventLoopProxy` allows you to wake up an `EventLoop` from an other thread.
pub struct EventLoop<T: 'static> {
pub(crate) event_loop: platform_impl::EventLoop<T>,
pub(crate) _marker: ::std::marker::PhantomData<*mut ()> // Not Send nor Sync
pub(crate) _marker: ::std::marker::PhantomData<*mut ()>, // Not Send nor Sync
}

/// Target that associates windows with an `EventLoop`.
Expand All @@ -42,7 +42,7 @@ pub struct EventLoop<T: 'static> {
/// take `&EventLoop`.
pub struct EventLoopWindowTarget<T: 'static> {
pub(crate) p: platform_impl::EventLoopWindowTarget<T>,
pub(crate) _marker: ::std::marker::PhantomData<*mut ()> // Not Send nor Sync
pub(crate) _marker: ::std::marker::PhantomData<*mut ()>, // Not Send nor Sync
}

impl<T> fmt::Debug for EventLoop<T> {
Expand Down
3 changes: 2 additions & 1 deletion src/platform/macos.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#![cfg(target_os = "macos")]

use std::os::raw::c_void;
use {LogicalSize, MonitorHandle, Window, WindowBuilder};

use {dpi::LogicalSize, monitor::MonitorHandle, window::{Window, WindowBuilder}};

/// Additional methods on `Window` that are specific to MacOS.
pub trait WindowExtMacOS {
Expand Down
Loading

0 comments on commit 8c86202

Please sign in to comment.