Files
kotlin-fork/native/native.tests/testData/SwiftExport/smokes/smokes.kt
T
Artem Olkov 16b985b36e Support for Unsigned Types in swift export #KT-65668 fixed
Merge-request: KT-MR-14300
Merged-by: Artem Olkov <artem.olkov@jetbrains.com>
2024-02-14 11:10:51 +00:00

20 lines
463 B
Kotlin
Vendored

package org.kotlin
fun plus(a: Int, b: Int, c: Int) =
a + b + c
fun logicalOr(a: Boolean, b: Boolean) = a || 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