Add kotlin.external annotation and deprecate kotlin.jvm.native

This commit is contained in:
Denis Zharkov
2015-09-04 14:21:29 +03:00
parent 26f9bd7b63
commit 5471a1d18a
29 changed files with 93 additions and 79 deletions
@@ -4,12 +4,12 @@ import kotlin.jvm.*
import kotlin.platform.*
object ObjWithNative {
native fun foo(x: Int = 1): Double
external fun foo(x: Int = 1): Double
platformStatic native fun bar(l: Long, s: String = ""): Double
platformStatic external fun bar(l: Long, s: String = ""): Double
}
native fun topLevel(x: Int = 1): Double
external fun topLevel(x: Int = 1): Double
fun box(): String {
var d = 0.0