From c558b5d2b2d08df8fbc6a91bfedbd4839bab9ee9 Mon Sep 17 00:00:00 2001 From: Alexey Andreev Date: Fri, 25 Nov 2016 15:44:03 +0300 Subject: [PATCH] JS: regenerate stdlib --- .../src/core/generated/_ArraysJs.kt | 24 +++++++------------ 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/js/js.libraries/src/core/generated/_ArraysJs.kt b/js/js.libraries/src/core/generated/_ArraysJs.kt index d84f44140d1..2d0b4600720 100644 --- a/js/js.libraries/src/core/generated/_ArraysJs.kt +++ b/js/js.libraries/src/core/generated/_ArraysJs.kt @@ -844,64 +844,56 @@ public fun Array.contentDeepHashCode(): Int { /** * Sorts the array in-place according to the order specified by the given [comparison] function. */ -@native -public fun Array.sort(comparison: (T, T) -> Int): Unit { +public external fun Array.sort(comparison: (T, T) -> Int): Unit { noImpl } /** * Sorts the array in-place according to the order specified by the given [comparison] function. */ -@native -public fun ByteArray.sort(comparison: (Byte, Byte) -> Int): Unit { +public external fun ByteArray.sort(comparison: (Byte, Byte) -> Int): Unit { noImpl } /** * Sorts the array in-place according to the order specified by the given [comparison] function. */ -@native -public fun ShortArray.sort(comparison: (Short, Short) -> Int): Unit { +public external fun ShortArray.sort(comparison: (Short, Short) -> Int): Unit { noImpl } /** * Sorts the array in-place according to the order specified by the given [comparison] function. */ -@native -public fun IntArray.sort(comparison: (Int, Int) -> Int): Unit { +public external fun IntArray.sort(comparison: (Int, Int) -> Int): Unit { noImpl } /** * Sorts the array in-place according to the order specified by the given [comparison] function. */ -@native -public fun LongArray.sort(comparison: (Long, Long) -> Int): Unit { +public external fun LongArray.sort(comparison: (Long, Long) -> Int): Unit { noImpl } /** * Sorts the array in-place according to the order specified by the given [comparison] function. */ -@native -public fun FloatArray.sort(comparison: (Float, Float) -> Int): Unit { +public external fun FloatArray.sort(comparison: (Float, Float) -> Int): Unit { noImpl } /** * Sorts the array in-place according to the order specified by the given [comparison] function. */ -@native -public fun DoubleArray.sort(comparison: (Double, Double) -> Int): Unit { +public external fun DoubleArray.sort(comparison: (Double, Double) -> Int): Unit { noImpl } /** * Sorts the array in-place according to the order specified by the given [comparison] function. */ -@native -public fun CharArray.sort(comparison: (Char, Char) -> Int): Unit { +public external fun CharArray.sort(comparison: (Char, Char) -> Int): Unit { noImpl }