posixMain.io.ktor.util.StackFramesNative.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ktor-utils-androidnativearm64 Show documentation
Show all versions of ktor-utils-androidnativearm64 Show documentation
Ktor is a framework for quickly creating web applications in Kotlin with minimal effort.
The newest version!
/*
* Copyright 2014-2019 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
*/
package io.ktor.util
import kotlin.reflect.*
@Suppress("UNUSED")
internal actual interface CoroutineStackFrame {
actual val callerFrame: CoroutineStackFrame?
actual fun getStackTraceElement(): StackTraceElement?
}
@Suppress("ACTUAL_WITHOUT_EXPECT")
internal actual typealias StackTraceElement = Any
@Suppress("FunctionName")
internal actual fun createStackTraceElement(
kClass: KClass<*>,
methodName: String,
fileName: String,
lineNumber: Int
): StackTraceElement = Any()
© 2015 - 2025 Weber Informatics LLC | Privacy Policy