use crate::common::*;
use crate::Foundation::*;
extern_class!(
#[derive(Debug, PartialEq, Eq, Hash)]
#[cfg(feature = "Foundation_NSNull")]
pub struct NSNull;
#[cfg(feature = "Foundation_NSNull")]
unsafe impl ClassType for NSNull {
type Super = NSObject;
type Mutability = InteriorMutable;
}
);
#[cfg(feature = "Foundation_NSNull")]
unsafe impl Send for NSNull {}
#[cfg(feature = "Foundation_NSNull")]
unsafe impl Sync for NSNull {}
#[cfg(feature = "Foundation_NSNull")]
unsafe impl NSCoding for NSNull {}
#[cfg(feature = "Foundation_NSNull")]
unsafe impl NSCopying for NSNull {}
#[cfg(feature = "Foundation_NSNull")]
unsafe impl NSObjectProtocol for NSNull {}
#[cfg(feature = "Foundation_NSNull")]
unsafe impl NSSecureCoding for NSNull {}
extern_methods!(
#[cfg(feature = "Foundation_NSNull")]
unsafe impl NSNull {
#[method_id(@__retain_semantics Other null)]
pub unsafe fn null() -> Id<NSNull>;
}
);
extern_methods!(
#[cfg(feature = "Foundation_NSNull")]
unsafe impl NSNull {
#[method_id(@__retain_semantics Init init)]
pub unsafe fn init(this: Allocated<Self>) -> Id<Self>;
#[method_id(@__retain_semantics New new)]
pub unsafe fn new() -> Id<Self>;
}
);