kotlin-desktop-toolkit/src/main/kotlin/org/jetbrains/desktop/linux/Logger.kt [204:221]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - val count = NativeExceptionsArray.count(exceptionsArray) val items = NativeExceptionsArray.items(exceptionsArray) if (count != 0L) { (0 until count).map { i -> val cStrPtr = items.getAtIndex(NativeExceptionsArray.`items$layout`(), i) cStrPtr.getUtf8String(0) }.toList() } else { emptyList() } } } internal fun ffiDownCall(body: () -> T): T { val result = body() val exceptions = checkExceptions() if (exceptions.isNotEmpty()) { - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - kotlin-desktop-toolkit/src/main/kotlin/org/jetbrains/desktop/macos/Logger.kt [204:221]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - val count = NativeExceptionsArray.count(exceptionsArray) val items = NativeExceptionsArray.items(exceptionsArray) if (count != 0L) { (0 until count).map { i -> val cStrPtr = items.getAtIndex(NativeExceptionsArray.`items$layout`(), i) cStrPtr.getUtf8String(0) }.toList() } else { emptyList() } } } internal fun ffiDownCall(body: () -> T): T { val result = body() val exceptions = checkExceptions() if (exceptions.isNotEmpty()) { - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -