#![no_std]
#![cfg_attr(feature = "unstable-darwin-objc", feature(darwin_objc))]
#![cfg_attr(docsrs, feature(doc_cfg))]
#![doc(html_root_url = "https://docs.rs/objc2-opengl/0.3.2")]
#![deprecated = "The OpenGL API is deprecated by Apple"]
#[cfg(feature = "alloc")]
extern crate alloc;
#[cfg(feature = "std")]
extern crate std;
mod generated;
#[allow(unused_imports, unreachable_pub)]
pub use self::generated::*;
#[allow(unused)]
pub(crate) type GLbitfield = u32;
#[allow(unused)]
pub(crate) type GLenum = u32;
#[allow(unused)]
pub(crate) type GLint = i32;
#[allow(unused)]
pub(crate) type GLsizei = i32;
#[allow(unused)]
pub(crate) type GLuint = u32;
#[allow(unused)]
mod context {
use core::cell::UnsafeCell;
use core::marker::{PhantomData, PhantomPinned};
use objc2::encode::{Encoding, RefEncode};
#[repr(C)]
#[derive(Debug)]
#[allow(missing_copy_implementations)]
#[allow(unreachable_pub)]
pub struct _CGLContextObject {
inner: [u8; 0],
_p: UnsafeCell<PhantomData<(*const UnsafeCell<()>, PhantomPinned)>>,
}
unsafe impl RefEncode for _CGLContextObject {
const ENCODING_REF: Encoding =
Encoding::Pointer(&Encoding::Struct("_CGLContextObject", &[]));
}
}
#[allow(unused)]
pub(crate) use self::context::_CGLContextObject;