Skip to content

Commit 7c124e7

Browse files
committed
Add kIOReturnSuccess
1 parent a86f0e1 commit 7c124e7

File tree

1 file changed

+4
-0
lines changed
  • framework-crates/objc2-io-kit/src

1 file changed

+4
-0
lines changed

framework-crates/objc2-io-kit/src/lib.rs

+4
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ pub use self::macros::*;
3232
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/ioreturn?language=objc)
3333
pub type IOReturn = core::ffi::c_int; // kern_return_t
3434

35+
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kioreturnsuccess?language=objc)
36+
#[allow(non_upper_case_globals)]
37+
pub const kIOReturnSuccess: IOReturn = 0;
38+
3539
// MacTypes.h
3640
#[allow(dead_code)]
3741
pub(crate) type Boolean = u8;

0 commit comments

Comments
 (0)