Migrate to Meta backend #46

Merged
david-swift merged 12 commits from 1.0.0 into main 2024-10-04 01:17:43 +02:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 018d21ee65 - Show all commits

View File

@ -11,7 +11,7 @@ extension Int: Identifiable {
public var id: Int { self }
/// The C integer.
public var cInt: Int32 {
.init(self)
.init(truncatingIfNeeded: self)
}
}

View File

@ -9,7 +9,7 @@ extension UInt {
/// Convert an unsigned integer into the C form.
public var cInt: UInt32 {
.init(self)
.init(truncatingIfNeeded: self)
}
}