use objc2::__framework_prelude::*;
use objc2_foundation::*;
use crate::*;
extern "C" {
pub static DOMXPathException: Option<&'static NSString>;
}
#[deprecated]
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct DOMXPathExceptionCode(pub c_uint);
impl DOMXPathExceptionCode {
#[deprecated]
pub const DOM_INVALID_EXPRESSION_ERR: Self = Self(51);
#[deprecated]
pub const DOM_TYPE_ERR: Self = Self(52);
}
unsafe impl Encode for DOMXPathExceptionCode {
const ENCODING: Encoding = c_uint::ENCODING;
}
unsafe impl RefEncode for DOMXPathExceptionCode {
const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}