diff --git a/kotlin-native/runtime/src/main/kotlin/kotlin/io/Console.kt b/kotlin-native/runtime/src/main/kotlin/kotlin/io/Console.kt index df68ca37012..083a767bf44 100644 --- a/kotlin-native/runtime/src/main/kotlin/kotlin/io/Console.kt +++ b/kotlin-native/runtime/src/main/kotlin/kotlin/io/Console.kt @@ -9,7 +9,8 @@ import kotlin.native.internal.GCUnsafeCall /** Prints the given [message] to the standard output stream. */ @GCUnsafeCall("Kotlin_io_Console_print") -public external fun print(message: String) +@PublishedApi +internal external fun print(message: String) /** Prints the given [message] to the standard output stream. */ public actual fun print(message: Any?) { @@ -18,7 +19,8 @@ public actual fun print(message: Any?) { /** Prints the given [message] and the line separator to the standard output stream. */ @GCUnsafeCall("Kotlin_io_Console_println") -public external fun println(message: String) +@PublishedApi +internal external fun println(message: String) /** Prints the given [message] and the line separator to the standard output stream. */ public actual fun println(message: Any?) {