Documentation Language: Swift

Initializer

init(name:type:comment:introspectable:deprecated:)

Memberwise initialiser

init(name: String, type: TypeReference, comment: String, introspectable: Bool = false, deprecated: String? = nil)

Parameters

name

The name of the Datatype to initialise

type

The corresponding, underlying GIR type

comment

Documentation text for the data type

introspectable

Set to true if introspectable

deprecated

Documentation on deprecation status if non-nil