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 MLCArithmeticLayer;
);
#[cfg(feature = "MLCLayer")]
extern_conformance!(
unsafe impl NSObjectProtocol for MLCArithmeticLayer {}
);
#[cfg(feature = "MLCLayer")]
impl MLCArithmeticLayer {
extern_methods!(
#[cfg(feature = "MLCTypes")]
#[deprecated]
#[unsafe(method(operation))]
#[unsafe(method_family = none)]
pub unsafe fn operation(&self) -> MLCArithmeticOperation;
#[cfg(feature = "MLCTypes")]
#[deprecated]
#[unsafe(method(layerWithOperation:))]
#[unsafe(method_family = none)]
pub unsafe fn layerWithOperation(operation: MLCArithmeticOperation) -> Retained<Self>;
);
}
#[cfg(feature = "MLCLayer")]
impl MLCArithmeticLayer {
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>;
);
}