Fix generation of KtBridges, now it is using actual C Function Name

Merge-request: KT-MR-14337
Merged-by: Artem Olkov <artem.olkov@jetbrains.com>
This commit is contained in:
Artem Olkov
2024-02-13 08:03:33 +00:00
committed by Space Team
parent 6c78ec88c2
commit 6cd2a5932a
8 changed files with 24 additions and 17 deletions
@@ -1,6 +1,6 @@
import kotlin.native.internal.ExportedBridge
@ExportedBridge("__root___foo")
@ExportedBridge("__root___foo__TypesOfArguments__int32_t_double__")
public fun __root___foo(p: Int, p2: Double): Short {
val result = foo(p, p2)
return result