Reduce amount of redundant empty lines in C interop stubs
This commit is contained in:
committed by
SvyatoslavScherbina
parent
ee70deae49
commit
cc73c7e009
+6
-3
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user