1 use std::os::raw::c_void;
2 
3 pub enum CGImage {}
4 pub type CGImageRef = *mut CGImage;
5 
6 #[repr(C)]
7 pub struct __CGColor(c_void);
8 
9 pub type CGColorRef = *const __CGColor;
10 
11 pub enum CGColorSpace {}
12 pub type CGColorSpaceRef = *mut CGColorSpace;
13 
14 pub enum CGPath {}
15 pub type CGPathRef = *mut CGPath;
16 
17 pub enum CGDataProvider {}
18 pub type CGDataProviderRef = *mut CGDataProvider;
19 
20 pub enum CGFont {}
21 pub type CGFontRef = *mut CGFont;
22 
23 pub enum CGContext {}
24 pub type CGContextRef = *mut CGContext;
25 
26 #[cfg(target_os = "macos")]
27 mod macos {
28 	pub enum CGEvent {}
29 	pub type CGEventRef = *mut CGEvent;
30 
31 	pub enum CGEventSource {}
32 	pub type CGEventSourceRef = *mut CGEventSource;
33 
34 	pub enum CGDisplayMode {}
35 	pub type CGDisplayModeRef = *mut CGDisplayMode;
36 }
37 
38 #[cfg(target_os = "macos")]
39 pub use self::macos::*;
40