mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
13 lines
229 B
Swift
13 lines
229 B
Swift
@asmname="swift_makeUnsafeNil" func _makeUnsafeNil() -> AnyObject
|
|
|
|
struct _Nil {
|
|
@conversion func __conversion() -> AnyObject {
|
|
return _makeUnsafeNil()
|
|
}
|
|
}
|
|
|
|
/// A null pointer constant.
|
|
var nil : _Nil {
|
|
return _Nil()
|
|
}
|