Skip to content

Commit 8d63c40

Browse files
committed
Add empty IOSurfaceRef type
1 parent 02ae0d5 commit 8d63c40

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
//
2+
// IOSurface.swift
3+
// OpenCoreGraphics
4+
//
5+
// Created by Kyle on 1/17/26.
6+
7+
public class IOSurfaceRef: Hashable {
8+
public func hash(into hasher: inout Hasher) {
9+
hasher.combine(ObjectIdentifier(self))
10+
}
11+
12+
public static func == (lhs: IOSurfaceRef, rhs: IOSurfaceRef) -> Bool {
13+
lhs === rhs
14+
}
15+
}
16+
17+
extension IOSurfaceRef: @unchecked Sendable {}

0 commit comments

Comments
 (0)