Fix miscellaneous compile warnings
This commit is contained in:
@@ -16,7 +16,6 @@ use string::{CFString};
|
||||
|
||||
use core_foundation_sys::base::{kCFAllocatorDefault, Boolean};
|
||||
use std::fmt;
|
||||
use std::mem::MaybeUninit;
|
||||
use std::ptr;
|
||||
use std::path::{Path, PathBuf};
|
||||
|
||||
|
||||
@@ -12,9 +12,9 @@ pub type CGEventField = u32;
|
||||
pub type CGKeyCode = u16;
|
||||
pub type CGScrollEventUnit = u32;
|
||||
|
||||
/// Flags for events
|
||||
///
|
||||
/// [Ref](http://opensource.apple.com/source/IOHIDFamily/IOHIDFamily-700/IOHIDSystem/IOKit/hidsystem/IOLLEvent.h)
|
||||
// Flags for events
|
||||
//
|
||||
// [Ref](http://opensource.apple.com/source/IOHIDFamily/IOHIDFamily-700/IOHIDSystem/IOKit/hidsystem/IOLLEvent.h)
|
||||
bitflags! {
|
||||
#[repr(C)]
|
||||
pub struct CGEventFlags: u64 {
|
||||
|
||||
Reference in New Issue
Block a user