Fix backtick-quoting for C function names

This commit is contained in:
Svyatoslav Scherbina
2018-11-17 07:03:46 +02:00
committed by SvyatoslavScherbina
parent 446442e588
commit ca32454ba8
@@ -699,7 +699,7 @@ class StubGenerator(
val joinedKotlinParameters = kotlinParameters.joinToString { (name, type) ->
"$name: ${type.render(kotlinFile)}"
}
this.header = "fun ${func.name}($joinedKotlinParameters): $returnType"
this.header = "fun ${func.name.asSimpleName()}($joinedKotlinParameters): $returnType"
this.bodyLines = bodyGenerator.build()
}