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:
+5
-5
@@ -6,13 +6,13 @@ public fun namespace1_local_functions_foo(): Unit {
|
||||
return result
|
||||
}
|
||||
|
||||
@ExportedBridge("namespace1_main_foobar")
|
||||
@ExportedBridge("namespace1_main_foobar__TypesOfArguments__int32_t__")
|
||||
public fun namespace1_main_foobar(param: Int): Int {
|
||||
val result = namespace1.main.foobar(param)
|
||||
return result
|
||||
}
|
||||
|
||||
@ExportedBridge("namespace1_main_all_args")
|
||||
@ExportedBridge("namespace1_main_all_args__TypesOfArguments___Bool_int8_t_int16_t_int32_t_int64_t_float_double__")
|
||||
public fun namespace1_main_all_args(arg1: Boolean, arg2: Byte, arg3: Short, arg4: Int, arg5: Long, arg10: Float, arg11: Double): Unit {
|
||||
val result = namespace1.main.all_args(arg1, arg2, arg3, arg4, arg5, arg10, arg11)
|
||||
return result
|
||||
@@ -24,19 +24,19 @@ public fun namespace1_bar(): Int {
|
||||
return result
|
||||
}
|
||||
|
||||
@ExportedBridge("namespace2_foo")
|
||||
@ExportedBridge("namespace2_foo__TypesOfArguments__int32_t__")
|
||||
public fun namespace2_foo(arg1: Int): Int {
|
||||
val result = namespace2.foo(arg1)
|
||||
return result
|
||||
}
|
||||
|
||||
@ExportedBridge("overload_foo")
|
||||
@ExportedBridge("overload_foo__TypesOfArguments__int32_t__")
|
||||
public fun overload_foo(arg1: Int): Int {
|
||||
val result = overload.foo(arg1)
|
||||
return result
|
||||
}
|
||||
|
||||
@ExportedBridge("overload_foo")
|
||||
@ExportedBridge("overload_foo__TypesOfArguments__double__")
|
||||
public fun overload_foo(arg1: Double): Int {
|
||||
val result = overload.foo(arg1)
|
||||
return result
|
||||
|
||||
Reference in New Issue
Block a user