Reduce amount of redundant empty lines in C interop stubs

This commit is contained in:
Svyatoslav Scherbina
2017-04-19 14:16:13 +03:00
committed by SvyatoslavScherbina
parent ee70deae49
commit cc73c7e009
@@ -1388,10 +1388,13 @@ class StubGenerator(
out("") out("")
stubs.forEach { stubs.forEach {
it.nativeStubLines.forEach { val lines = it.nativeStubLines
out(it) if (lines.isNotEmpty()) {
lines.forEach {
out(it)
}
out("")
} }
out("")
} }
if (entryPoint != null) { if (entryPoint != null) {