use core::cell::UnsafeCell;
use core::marker::{PhantomData, PhantomPinned};
use objc2::__framework_prelude::*;
use crate::*;
#[repr(C)]
#[derive(Debug)]
pub struct CGLShareGroupRec {
inner: [u8; 0],
_p: UnsafeCell<PhantomData<(*const UnsafeCell<()>, PhantomPinned)>>,
}
unsafe impl RefEncode for CGLShareGroupRec {
const ENCODING_REF: Encoding = Encoding::Pointer(&Encoding::Struct("CGLShareGroupRec", &[]));
}
pub type CGLShareGroupObj = *mut CGLShareGroupRec;
extern "C-unwind" {
#[cfg(feature = "CGLTypes")]
pub fn CGLGetShareGroup(ctx: CGLContextObj) -> CGLShareGroupObj;
}
#[repr(C)]
#[derive(Debug)]
pub struct _cl_device_id {
inner: [u8; 0],
_p: UnsafeCell<PhantomData<(*const UnsafeCell<()>, PhantomPinned)>>,
}
unsafe impl RefEncode for _cl_device_id {
const ENCODING_REF: Encoding = Encoding::Pointer(&Encoding::Struct("_cl_device_id", &[]));
}
pub type cl_device_id = *mut _cl_device_id;
extern "C-unwind" {
pub fn CGLGetDeviceFromGLRenderer(renderer_id: GLint) -> cl_device_id;
}