objc2_open_directory/generated/CFOpenDirectory/
CFODContext.rs

1//! This file has been automatically generated by `objc2`'s `header-translator`.
2//! DO NOT EDIT
3#[cfg(feature = "objc2-core-foundation")]
4use objc2_core_foundation::*;
5
6use crate::*;
7
8#[cfg(feature = "objc2-core-foundation")]
9unsafe impl ConcreteType for ODContextRef {
10    /// Standard GetTypeID function support for CF-based objects
11    ///
12    /// Returns the typeID for the ODContext object
13    ///
14    /// Returns: a valid CFTypeID for the ODContext object
15    #[doc(alias = "ODContextGetTypeID")]
16    #[inline]
17    fn type_id() -> CFTypeID {
18        extern "C-unwind" {
19            fn ODContextGetTypeID() -> CFTypeID;
20        }
21        unsafe { ODContextGetTypeID() }
22    }
23}