objc2-open-gl 0.3.2

Bindings to the OpenGL framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! This file has been automatically generated by `objc2`'s `header-translator`.
//! DO NOT EDIT

use crate::*;

extern "C-unwind" {
    /// # Safety
    ///
    /// `ctx` must be a valid pointer or null.
    #[cfg(feature = "CGLTypes")]
    pub fn CGLSetCurrentContext(ctx: CGLContextObj) -> CGLError;
}

extern "C-unwind" {
    #[cfg(feature = "CGLTypes")]
    pub fn CGLGetCurrentContext() -> CGLContextObj;
}