objc2_open_gl/generated/CGLCurrent.rs
1//! This file has been automatically generated by `objc2`'s `header-translator`.
2//! DO NOT EDIT
3
4use crate::*;
5
6extern "C-unwind" {
7 /// # Safety
8 ///
9 /// `ctx` must be a valid pointer or null.
10 #[cfg(feature = "CGLTypes")]
11 pub fn CGLSetCurrentContext(ctx: CGLContextObj) -> CGLError;
12}
13
14extern "C-unwind" {
15 #[cfg(feature = "CGLTypes")]
16 pub fn CGLGetCurrentContext() -> CGLContextObj;
17}