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("")
stubs.forEach {
it.nativeStubLines.forEach {
out(it)
val lines = it.nativeStubLines
if (lines.isNotEmpty()) {
lines.forEach {
out(it)
}
out("")
}
out("")
}
if (entryPoint != null) {