Skip to content

Commit

Permalink
Revert "mach_port: Removed redundant pub use"
Browse files Browse the repository at this point in the history
This reverts commit 6d00383.

It broke semver because it removed the export of CFIndex which
which older versions of the core-foundation crate are depending on.

Fixes #619
  • Loading branch information
jrmuizel committed Jul 24, 2023
1 parent 9effb78 commit 2bb97c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion core-foundation-sys/src/mach_port.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

use base::{CFAllocatorRef, CFIndex, CFTypeID, Boolean, mach_port_t};
use string::CFStringRef;
pub use base::{CFAllocatorRef, CFIndex, CFTypeID};
use base::{Boolean, mach_port_t};
use runloop::CFRunLoopSourceRef;
use std::os::raw::c_void;

Expand Down
2 changes: 1 addition & 1 deletion core-foundation/src/mach_port.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use base::{TCFType, CFIndex};
use base::TCFType;
use core_foundation_sys::base::kCFAllocatorDefault;
use runloop::CFRunLoopSource;
pub use core_foundation_sys::mach_port::*;
Expand Down

0 comments on commit 2bb97c0

Please sign in to comment.