Documentation Language: Swift

Function

callbackParameterCode(for:)

Swift code for a @convention(c) callback parameter

func callbackParameterCode(for argument: GIR.Argument) -> String

Parameters

argument

The argument to generate type code for

Return Value

The Swift type for the parameter