10 lines
261 B
Swift
10 lines
261 B
Swift
import CAdw
|
|
|
|
/// Add ExpressibleByIntegerLiteral conformance to make GtkWrapMode usable as
|
|
// a RawValue in an enum.
|
|
extension GtkWrapMode: @retroactive ExpressibleByIntegerLiteral {
|
|
public init(integerLiteral value: Int) {
|
|
self.init(UInt32(value))
|
|
}
|
|
}
|