Vendor things
This commit is contained in:
parent
5deceec006
commit
977e3c17e5
19434 changed files with 10682014 additions and 0 deletions
44
third-party/vendor/core-graphics/src/sys.rs
vendored
Normal file
44
third-party/vendor/core-graphics/src/sys.rs
vendored
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
use std::os::raw::c_void;
|
||||
|
||||
pub enum CGImage {}
|
||||
pub type CGImageRef = *mut CGImage;
|
||||
|
||||
#[repr(C)]
|
||||
pub struct __CGColor(c_void);
|
||||
|
||||
pub type CGColorRef = *const __CGColor;
|
||||
|
||||
pub enum CGColorSpace {}
|
||||
pub type CGColorSpaceRef = *mut CGColorSpace;
|
||||
|
||||
pub enum CGPath {}
|
||||
pub type CGPathRef = *mut CGPath;
|
||||
|
||||
pub enum CGDataProvider {}
|
||||
pub type CGDataProviderRef = *mut CGDataProvider;
|
||||
|
||||
pub enum CGFont {}
|
||||
pub type CGFontRef = *mut CGFont;
|
||||
|
||||
pub enum CGContext {}
|
||||
pub type CGContextRef = *mut CGContext;
|
||||
|
||||
pub enum CGGradient {}
|
||||
pub type CGGradientRef = *mut CGGradient;
|
||||
|
||||
#[cfg(target_os = "macos")]
|
||||
mod macos {
|
||||
pub enum CGEventTap {}
|
||||
pub type CGEventTapRef = core_foundation::mach_port::CFMachPortRef;
|
||||
pub enum CGEvent {}
|
||||
pub type CGEventRef = *mut CGEvent;
|
||||
|
||||
pub enum CGEventSource {}
|
||||
pub type CGEventSourceRef = *mut CGEventSource;
|
||||
|
||||
pub enum CGDisplayMode {}
|
||||
pub type CGDisplayModeRef = *mut CGDisplayMode;
|
||||
}
|
||||
|
||||
#[cfg(target_os = "macos")]
|
||||
pub use self::macos::*;
|
||||
Loading…
Add table
Add a link
Reference in a new issue