From ce0451e5c8b449faa8ccd52ab24b842cb35f4f3b Mon Sep 17 00:00:00 2001 From: Alexander Gorshenev Date: Thu, 24 Jan 2019 01:27:27 +0300 Subject: [PATCH] Made ObjCMethodImp internal and @PublishedApi. --- .../src/native/kotlin/kotlinx/cinterop/ObjectiveCImpl.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Interop/Runtime/src/native/kotlin/kotlinx/cinterop/ObjectiveCImpl.kt b/Interop/Runtime/src/native/kotlin/kotlinx/cinterop/ObjectiveCImpl.kt index 746fb19f07c..7a6e320721d 100644 --- a/Interop/Runtime/src/native/kotlin/kotlinx/cinterop/ObjectiveCImpl.kt +++ b/Interop/Runtime/src/native/kotlin/kotlinx/cinterop/ObjectiveCImpl.kt @@ -120,9 +120,10 @@ annotation class ObjCFactory(val bridge: String) @Retention(AnnotationRetention.BINARY) annotation class InteropStubs() +@PublishedApi @Target(AnnotationTarget.FUNCTION) @Retention(AnnotationRetention.SOURCE) -private annotation class ObjCMethodImp(val selector: String, val encoding: String) +internal annotation class ObjCMethodImp(val selector: String, val encoding: String) @kotlin.native.internal.ExportForCppRuntime("Kotlin_Interop_getObjCClass") private fun getObjCClassByName(name: NativePtr): NativePtr {