stdlib: DeepRecursiveFunction KT-31741 (#4190)
Intrinsics for native (cherry picked from commit 108cd8f8ebb87de4d2cc1eb2d84c3172442966af)
This commit is contained in:
committed by
Vasily Levchenko
parent
6f88b2d044
commit
0c5a07f968
@@ -46,6 +46,14 @@ public actual inline fun <R, T> (suspend R.() -> T).startCoroutineUninterceptedO
|
|||||||
completion: Continuation<T>
|
completion: Continuation<T>
|
||||||
): Any? = (this as Function2<R, Continuation<T>, Any?>).invoke(receiver, completion)
|
): Any? = (this as Function2<R, Continuation<T>, Any?>).invoke(receiver, completion)
|
||||||
|
|
||||||
|
@Suppress("UNCHECKED_CAST")
|
||||||
|
@kotlin.internal.InlineOnly
|
||||||
|
internal actual inline fun <R, P, T> (suspend R.(P) -> T).startCoroutineUninterceptedOrReturn(
|
||||||
|
receiver: R,
|
||||||
|
param: P,
|
||||||
|
completion: Continuation<T>
|
||||||
|
): Any? = (this as Function3<R, P, Continuation<T>, Any?>).invoke(receiver, param, completion)
|
||||||
|
|
||||||
private object CoroutineSuspendedMarker
|
private object CoroutineSuspendedMarker
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user