[ObjCExport] Split ObjCExportHeaderGenerator and ObjCExportTranslator
KT-64226
This commit is contained in:
committed by
Space Team
parent
74c39b149f
commit
aab9a606ce
+5
-1277
File diff suppressed because it is too large
Load Diff
+20
@@ -0,0 +1,20 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors.
|
||||||
|
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package org.jetbrains.kotlin.backend.konan.objcexport
|
||||||
|
|
||||||
|
import org.jetbrains.kotlin.descriptors.DeclarationDescriptor
|
||||||
|
|
||||||
|
interface ObjCExportProblemCollector {
|
||||||
|
fun reportWarning(text: String)
|
||||||
|
fun reportWarning(declaration: DeclarationDescriptor, text: String)
|
||||||
|
fun reportException(throwable: Throwable)
|
||||||
|
|
||||||
|
object SILENT : ObjCExportProblemCollector {
|
||||||
|
override fun reportWarning(text: String) {}
|
||||||
|
override fun reportWarning(declaration: DeclarationDescriptor, text: String) {}
|
||||||
|
override fun reportException(throwable: Throwable) {}
|
||||||
|
}
|
||||||
|
}
|
||||||
+1273
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user