Native: make parseBinaryOptions public

This commit is contained in:
Svyatoslav Scherbina
2021-11-26 16:42:16 +03:00
committed by Space
parent 6917ff7d2a
commit ab6c8a4abe
@@ -592,13 +592,13 @@ private fun parseDebugPrefixMap(
}
}.toMap()
private class BinaryOptionWithValue<T : Any>(val option: BinaryOption<T>, val value: T)
class BinaryOptionWithValue<T : Any>(val option: BinaryOption<T>, val value: T)
private fun <T : Any> CompilerConfiguration.put(binaryOptionWithValue: BinaryOptionWithValue<T>) {
this.put(binaryOptionWithValue.option.compilerConfigurationKey, binaryOptionWithValue.value)
}
private fun parseBinaryOptions(
fun parseBinaryOptions(
arguments: K2NativeCompilerArguments,
configuration: CompilerConfiguration
): List<BinaryOptionWithValue<*>> {