Documentation Language: Swift

Initializer

init(name:cname:returns:args:comment:introspectable:deprecated:throwsAnError:)

Designated initialiser

init(name: String, cname: String, returns: Argument, args: [Argument] = [], comment: String = "", introspectable: Bool = false, deprecated: String? = nil, throwsAnError: Bool = false)

Parameters

name

The name of the method

cname

C function name

returns

Return type

args

Array of parameters

comment

Documentation text for the method

introspectable

Set to true if introspectable

deprecated

Documentation on deprecation status if non-nil

throwsAnError

Set to true if this method can throw an error