KT-65123: move Swift Export Compiler Plugin into swift-export-standalone module
Merge-request: KT-MR-14031 Merged-by: Artem Olkov <artem.olkov@jetbrains.com>
This commit is contained in:
+3
@@ -0,0 +1,3 @@
|
||||
#include <stdint.h>
|
||||
|
||||
int32_t __root___meaningOfLife();
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
import kotlin.native.internal.ExportedBridge
|
||||
|
||||
@ExportedBridge("__root___meaningOfLife")
|
||||
public fun __root___meaningOfLife(): Int {
|
||||
val result = meaningOfLife()
|
||||
return result
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
public func meaningOfLife() -> Swift.Int32 {
|
||||
return __root___meaningOfLife()
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
fun meaningOfLife(): Int = 420
|
||||
Reference in New Issue
Block a user