objc2-gl-kit 0.3.2

Bindings to the GLKit framework
Documentation
//! This file has been automatically generated by `objc2`'s `header-translator`.
//! DO NOT EDIT
use core::cell::UnsafeCell;
use core::marker::{PhantomData, PhantomPinned};
use core::ptr::NonNull;
use objc2::__framework_prelude::*;

use crate::*;

/// [Apple's documentation](https://developer.apple.com/documentation/glkit/glkeffectpropertyprv?language=objc)
#[repr(C)]
#[derive(Debug)]
pub struct GLKEffectPropertyPrv {
    inner: [u8; 0],
    _p: UnsafeCell<PhantomData<(*const UnsafeCell<()>, PhantomPinned)>>,
}

unsafe impl RefEncode for GLKEffectPropertyPrv {
    const ENCODING_REF: Encoding =
        Encoding::Pointer(&Encoding::Struct("GLKEffectPropertyPrv", &[]));
}

/// [Apple's documentation](https://developer.apple.com/documentation/glkit/glkeffectpropertyprvptr?language=objc)
pub type GLKEffectPropertyPrvPtr = *mut GLKEffectPropertyPrv;

extern_class!(
    /// [Apple's documentation](https://developer.apple.com/documentation/glkit/glkeffectproperty?language=objc)
    #[unsafe(super(NSObject))]
    #[derive(Debug, PartialEq, Eq, Hash)]
    pub struct GLKEffectProperty;
);

extern_conformance!(
    unsafe impl NSObjectProtocol for GLKEffectProperty {}
);

impl GLKEffectProperty {
    extern_methods!();
}

/// Methods declared on superclass `NSObject`.
impl GLKEffectProperty {
    extern_methods!(
        #[unsafe(method(init))]
        #[unsafe(method_family = init)]
        pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;

        #[unsafe(method(new))]
        #[unsafe(method_family = new)]
        pub unsafe fn new() -> Retained<Self>;
    );
}