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:
Artem Olkov
2024-01-29 10:32:09 +00:00
committed by Space Team
parent d935db9e3a
commit de6a27aeeb
42 changed files with 442 additions and 771 deletions
@@ -0,0 +1,3 @@
#include <stdint.h>
int32_t __root___meaningOfLife();
@@ -0,0 +1,7 @@
import kotlin.native.internal.ExportedBridge
@ExportedBridge("__root___meaningOfLife")
public fun __root___meaningOfLife(): Int {
val result = meaningOfLife()
return result
}
@@ -0,0 +1,3 @@
public func meaningOfLife() -> Swift.Int32 {
return __root___meaningOfLife()
}
@@ -0,0 +1 @@
fun meaningOfLife(): Int = 420