We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a86f0e1 commit 7c124e7Copy full SHA for 7c124e7
framework-crates/objc2-io-kit/src/lib.rs
@@ -32,6 +32,10 @@ pub use self::macros::*;
32
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/ioreturn?language=objc)
33
pub type IOReturn = core::ffi::c_int; // kern_return_t
34
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
+
39
// MacTypes.h
40
#[allow(dead_code)]
41
pub(crate) type Boolean = u8;
0 commit comments