Documentation Language: Swift

Function

gtkDoc2SwiftDoc(for:_:linePrefix:)

Convert the given String to SwiftDoc

func gtkDoc2SwiftDoc(for thing: GIR.Thing, _ gtkDoc: String, linePrefix: String = "/// ") -> String

Parameters

thing

The GIR thing to generate documentation for

gtkDoc

String in gtk-doc format

linePrefix

String to prefix each line with (e.g. indentation and/or “///”)

Return Value

String in SwiftDoc format