Swift: The PointerType class isn't used any d any more.

This commit is contained in:
Geoffrey White
2023-03-06 16:36:41 +00:00
parent 61340c4b20
commit 4d327dbf4f

View File

@@ -5,22 +5,6 @@
import swift
/**
* A type that is used as a pointer in Swift, such as `UnsafePointer`,
* `UnsafeBufferPointer` and similar types.
*/
class PointerType extends Type {
PointerType() {
this instanceof UnsafeTypedPointerType or
this instanceof UnsafeRawPointerType or
this instanceof OpaquePointerType or
this instanceof AutoreleasingUnsafeMutablePointerType or
this instanceof UnmanagedType or
this instanceof CVaListPointerType or
this instanceof ManagedBufferPointerType
}
}
/**
* A Swift unsafe typed pointer type such as `UnsafePointer`,
* `UnsafeMutablePointer` or `UnsafeBufferPointer`.