david-swift 87b970d844
All checks were successful
SwiftLint / SwiftLint (pull_request) Successful in 6s
Fix code style
2025-08-26 13:33:43 +02:00

20 lines
392 B
Swift

//
// GtkWrapMode.swift
// Adwaita
//
// Created by mlm on 24.08.25.
//
import CAdw
/// Add ExpressibleByIntegerLiteral conformance to make GtkWrapMode usable as
/// a RawValue in an enum.
extension GtkWrapMode: @retroactive ExpressibleByIntegerLiteral {
/// Initialize from an integer literal.
public init(integerLiteral value: Int) {
self.init(UInt32(value))
}
}