use core::ptr::NonNull;
use objc2::__framework_prelude::*;
use crate::*;
extern_class!(
#[unsafe(super(MLCLayer, NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
#[cfg(feature = "MLCLayer")]
#[deprecated]
pub struct MLCGatherLayer;
);
#[cfg(feature = "MLCLayer")]
extern_conformance!(
unsafe impl NSObjectProtocol for MLCGatherLayer {}
);
#[cfg(feature = "MLCLayer")]
impl MLCGatherLayer {
extern_methods!(
#[deprecated]
#[unsafe(method(dimension))]
#[unsafe(method_family = none)]
pub unsafe fn dimension(&self) -> NSUInteger;
#[deprecated]
#[unsafe(method(layerWithDimension:))]
#[unsafe(method_family = none)]
pub unsafe fn layerWithDimension(dimension: NSUInteger) -> Retained<Self>;
);
}
#[cfg(feature = "MLCLayer")]
impl MLCGatherLayer {
extern_methods!(
#[deprecated]
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
#[deprecated]
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
);
}