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 pub enum CGGradient {}
27 pub type CGGradientRef = *mut CGGradient;
28 
29 #[cfg(target_os = "macos")]
30 mod macos {
31 	pub enum CGEvent {}
32 	pub type CGEventRef = *mut CGEvent;
33 
34 	pub enum CGEventSource {}
35 	pub type CGEventSourceRef = *mut CGEventSource;
36 
37 	pub enum CGDisplayMode {}
38 	pub type CGDisplayModeRef = *mut CGDisplayMode;
39 }
40 
41 #[cfg(target_os = "macos")]
42 pub use self::macos::*;
43