[K/N] Internalize print/println(String) functions
As a part of efforts to stabilize Native stdlib.
This commit is contained in:
@@ -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?) {
|
||||
|
||||
Reference in New Issue
Block a user