objc2-io-kit 0.3.2

Bindings to the IOKit framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#![cfg(feature = "libc")]
use objc2_io_kit::{kIOReturnSuccess, IOObjectRelease, IOObjectRetain};

#[test]
fn release() {
    assert_ne!(IOObjectRelease(100), kIOReturnSuccess);
}

#[test]
fn retain() {
    assert_ne!(IOObjectRetain(100), kIOReturnSuccess);
}