Support for Unsigned Types in swift export #KT-65668 fixed

Merge-request: KT-MR-14300
Merged-by: Artem Olkov <artem.olkov@jetbrains.com>
This commit is contained in:
Artem Olkov
2024-02-14 11:10:51 +00:00
committed by Space Team
parent fa5ae18980
commit 16b985b36e
12 changed files with 105 additions and 22 deletions
+13 -1
View File
@@ -5,4 +5,16 @@ fun plus(a: Int, b: Int, c: Int) =
fun logicalOr(a: Boolean, b: Boolean) = a || b
fun xor(a: Boolean, b: Boolean) = a xor b
fun xor(a: Boolean, b: Boolean) = a xor b
fun plus(a: UByte, b: UByte) = a + b
fun minus(a: UByte, b: UByte) = a - b
fun plus(a: UShort, b: UShort) = a + b
fun minus(a: UShort, b: UShort) = a - b
fun plus(a: UInt, b: UInt) = a + b
fun minus(a: UInt, b: UInt) = a - b
fun plus(a: ULong, b: ULong) = a + b
fun minus(a: ULong, b: ULong) = a - b