Skip to main content

Module utils

Module utils 

Source
Expand description

Shared utilities.

The framework-agnostic helpers (FourCharCode, ffi_string_*, completion handlers, panic-safe wrappers) now live in apple_cf::utils and are re-exported here for backward compatibility.

error.rs is intentionally NOT migrated — it carries SCStream-specific error variants that don’t belong in the framework-agnostic foundation.

Modules§

completion
Synchronous completion utilities for async FFI callbacks
error
Error types for ScreenCaptureKit
ffi_string
FFI string helpers that free bridge-owned strings. FFI string utilities — back-compat shim over doom_fish_utils::ffi_string.
four_char_code
Minimal FourCharCode implementation for pixel formats and color conversions
panic_safe
Panic-safety helpers for the C ABI boundary.

Structs§

FourCharCode
FourCharCode represents a 4-character code (used in Core Video/Media)