objc2-home-kit 0.3.2

Bindings to the HomeKit framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! This file has been automatically generated by `objc2`'s `header-translator`.
//! DO NOT EDIT
use core::ffi::*;
use objc2_foundation::*;

use crate::*;

/// A generic handler for callbacks containing a single error parameter.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/homekit/hmerrorblock?language=objc)
#[cfg(feature = "block2")]
pub type HMErrorBlock = *mut block2::DynBlock<dyn Fn(*mut NSError)>;