JS and IDL2K: make dictionary builder functions public

This commit is contained in:
Sergey Mashkov
2015-06-22 12:57:23 +03:00
parent 3caeddd8dc
commit 0e518e46bb
9 changed files with 52 additions and 52 deletions
@@ -193,7 +193,7 @@ fun Appendable.renderBuilderFunction(dictionary: GenerateTraitOrClass, allSuperT
val fields = (dictionary.memberAttributes + allSuperTypes.flatMap { it.memberAttributes }).distinctBy { it.signature }.map { it.copy(kind = AttributeKind.ARGUMENT) }.dynamicIfUnknownType(allTypes)
appendln("suppress(\"NOTHING_TO_INLINE\")")
append("inline fun ${dictionary.name}")
append("public inline fun ${dictionary.name}")
renderArgumentsDeclaration(fields)
appendln(": ${dictionary.name} {")