Use explicit public visibility in kotlin-runtime.

This commit is contained in:
Ilya Gorbunov
2016-09-20 17:38:51 +03:00
parent 2fc8f5d5e2
commit 71af020beb
12 changed files with 59 additions and 59 deletions
+4 -4
View File
@@ -19,17 +19,17 @@ package kotlin.coroutines
/**
* Interface representing a continuation after a suspension point that returns value of type `P`
*/
interface Continuation<in P> {
public interface Continuation<in P> {
/**
* Resumes the execution of the corresponding coroutine passing `data` as the return value of the last suspension point
*/
fun resume(data: P)
public fun resume(data: P)
/**
* Resumes the execution of the corresponding coroutine so that the `exception` is re-thrown right after the
* last suspension point
*/
fun resumeWithException(exception: Throwable)
public fun resumeWithException(exception: Throwable)
}
@@ -38,4 +38,4 @@ interface Continuation<in P> {
*/
@Target(AnnotationTarget.CLASS)
@Retention(AnnotationRetention.BINARY)
annotation class AllowSuspendExtensions
public annotation class AllowSuspendExtensions