Native: make parseBinaryOptions public
This commit is contained in:
committed by
Space
parent
6917ff7d2a
commit
ab6c8a4abe
@@ -592,13 +592,13 @@ private fun parseDebugPrefixMap(
|
|||||||
}
|
}
|
||||||
}.toMap()
|
}.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>) {
|
private fun <T : Any> CompilerConfiguration.put(binaryOptionWithValue: BinaryOptionWithValue<T>) {
|
||||||
this.put(binaryOptionWithValue.option.compilerConfigurationKey, binaryOptionWithValue.value)
|
this.put(binaryOptionWithValue.option.compilerConfigurationKey, binaryOptionWithValue.value)
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun parseBinaryOptions(
|
fun parseBinaryOptions(
|
||||||
arguments: K2NativeCompilerArguments,
|
arguments: K2NativeCompilerArguments,
|
||||||
configuration: CompilerConfiguration
|
configuration: CompilerConfiguration
|
||||||
): List<BinaryOptionWithValue<*>> {
|
): List<BinaryOptionWithValue<*>> {
|
||||||
|
|||||||
Reference in New Issue
Block a user