ml 0af3864058
Some checks failed
SwiftLint / SwiftLint (pull_request) Has been cancelled
Add WrapMode to TextView/TextEditor
2025-08-25 10:12:02 +02:00

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))
}
}