Skip to content

Commit e805130

Browse files
committed
Fix all private_in_public errors
1 parent e47505d commit e805130

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/color_space.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use core_foundation::base::{CFRelease, CFRetain, CFTypeID, CFTypeRef, TCFType};
1111
use std::mem;
1212

1313
#[repr(C)]
14-
struct __CGColorSpace;
14+
pub struct __CGColorSpace;
1515

1616
pub type CGColorSpaceRef = *const __CGColorSpace;
1717

src/context.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ use std::ptr;
1616
use std::slice;
1717

1818
#[repr(C)]
19-
struct __CGContext;
19+
pub struct __CGContext;
2020

2121
pub type CGContextRef = *const __CGContext;
2222

src/data_provider.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ pub type CGDataProviderReleaseDataCallback = *const u8;
2626
pub type CGDataProviderGetBytesAtPositionCallback = *const u8;
2727

2828
#[repr(C)]
29-
struct __CGDataProvider;
29+
pub struct __CGDataProvider;
3030

3131
pub type CGDataProviderRef = *const __CGDataProvider;
3232

src/font.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ use std::ptr;
2020
pub type CGGlyph = libc::c_ushort;
2121

2222
#[repr(C)]
23-
struct __CGFont;
23+
pub struct __CGFont;
2424

2525
pub type CGFontRef = *const __CGFont;
2626

src/private.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ mod ffi {
9191
use libc::{c_int, c_uint};
9292

9393
// This is an enum so that we can't easily make instances of this opaque type.
94-
enum CGSRegionObject {}
94+
pub enum CGSRegionObject {}
9595

9696
pub type CGError = OSStatus;
9797
pub type CGSRegionRef = *mut CGSRegionObject;

0 commit comments

Comments
 (0)