From aa40f3f3d79d44641110b44f7b02cc8346e36d78 Mon Sep 17 00:00:00 2001 From: Him188 Date: Wed, 21 Sep 2022 12:01:47 +0800 Subject: [PATCH] [core] fix since version of `ExternalResource.input` --- mirai-core-api/src/commonMain/kotlin/utils/ExternalResource.kt | 2 +- mirai-core-api/src/jvmBaseMain/kotlin/utils/ExternalResource.kt | 2 +- mirai-core-api/src/nativeMain/kotlin/utils/ExternalResource.kt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mirai-core-api/src/commonMain/kotlin/utils/ExternalResource.kt b/mirai-core-api/src/commonMain/kotlin/utils/ExternalResource.kt index 4569649c5..fc3c85cb0 100644 --- a/mirai-core-api/src/commonMain/kotlin/utils/ExternalResource.kt +++ b/mirai-core-api/src/commonMain/kotlin/utils/ExternalResource.kt @@ -173,7 +173,7 @@ public expect interface ExternalResource : Closeable { * 关闭此流不会关闭 [ExternalResource]. * @throws IllegalStateException 当上一个流未关闭又尝试打开新的流时抛出 * - * @since SINCE_NATIVE_TARGET + * @since 2.13 */ public fun input(): Input diff --git a/mirai-core-api/src/jvmBaseMain/kotlin/utils/ExternalResource.kt b/mirai-core-api/src/jvmBaseMain/kotlin/utils/ExternalResource.kt index 88d30428a..3f82bdc19 100644 --- a/mirai-core-api/src/jvmBaseMain/kotlin/utils/ExternalResource.kt +++ b/mirai-core-api/src/jvmBaseMain/kotlin/utils/ExternalResource.kt @@ -191,7 +191,7 @@ public actual interface ExternalResource : Closeable { * 关闭此流不会关闭 [ExternalResource]. * @throws IllegalStateException 当上一个流未关闭又尝试打开新的流时抛出 * - * @since SINCE_NATIVE_TARGET + * @since 2.13 */ @MiraiExperimentalApi public actual fun input(): Input diff --git a/mirai-core-api/src/nativeMain/kotlin/utils/ExternalResource.kt b/mirai-core-api/src/nativeMain/kotlin/utils/ExternalResource.kt index eefa8702e..5c35b0531 100644 --- a/mirai-core-api/src/nativeMain/kotlin/utils/ExternalResource.kt +++ b/mirai-core-api/src/nativeMain/kotlin/utils/ExternalResource.kt @@ -167,7 +167,7 @@ public actual interface ExternalResource : Closeable { * 关闭此流不会关闭 [ExternalResource]. * @throws IllegalStateException 当上一个流未关闭又尝试打开新的流时抛出 * - * @since SINCE_NATIVE_TARGET + * @since 2.13 */ public actual fun input(): Input