apple-cf 0.8.0

Safe Rust bindings for Apple's shared Core* frameworks (CoreFoundation, CoreMedia, CoreVideo, CoreGraphics, IOSurface, Dispatch).
Documentation
1
2
3
4
5
6
7
8
9
10
#![allow(missing_docs)]

use core::ffi::c_void;

extern "C" {
/// Swift bridge function `cv_metal_texture_cache_create_system_default` for the corresponding Apple API.
    pub fn cv_metal_texture_cache_create_system_default() -> *mut c_void;
/// Swift bridge function `cv_metal_texture_cache_flush` for the corresponding Apple API.
    pub fn cv_metal_texture_cache_flush(cache: *mut c_void);
}