david-swift 04c77831b5
Some checks are pending
Deploy Docs / publish (push) Waiting to run
SwiftLint / SwiftLint (push) Waiting to run
Remove Core library
2025-10-30 21:36:13 +01:00

17 lines
330 B
Swift

//
// OpaquePointer.swift
// Adwaita
//
// Created by david-swift on 15.01.23.
//
extension OpaquePointer {
/// Convert an opaque pointer into an unsafe mutable pointer with a defined type.
/// - Returns: The unsafe mutable pointer.
public func cast<T>() -> UnsafeMutablePointer<T> {
.init(self)
}
}