[Swift Export] KT-63516
Add a sir-compiler-bridge module that adds Kotlin and C bridges for SIR. As SIR is still WIP, the module accepts `BridgeRequest` instances instead of SIR elements.
This commit is contained in:
committed by
Space Team
parent
7c15e3f229
commit
fe9ab0a1fc
@@ -0,0 +1,7 @@
|
||||
import kotlin.native.internal.ExportForCppRuntime
|
||||
|
||||
@ExportForCppRuntime("a_b_foo_bridge")
|
||||
public fun a_b_foo_bridge(param1: Int, param2: Long): Int {
|
||||
val result = a.b.foo(param1, param2)
|
||||
return result
|
||||
}
|
||||
Reference in New Issue
Block a user