Wrapped C enum raw values in explicit width conversions throughout the PlayDate binding target.

This commit is contained in:
2026-07-25 10:10:43 +02:00
parent 29619720f7
commit 69813b2a76
11 changed files with 47 additions and 47 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ extension Lua {
case thread = 7
case object = 8
init(_ type: LuaType) { self = Kind(rawValue: type.rawValue) ?? .nil }
init(_ type: LuaType) { self = Kind(rawValue: UInt32(type.rawValue)) ?? .nil }
}
/// A constant published on a registered class.