Documentation Language: Swift

Initializer

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

Designated initialiser

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

Parameters

name

The name of the Constant to initialise

cname

C identifier

type

The type of the constant

value

The value of the constant

comment

Documentation text for the constant

introspectable

Set to true if introspectable

deprecated

Documentation on deprecation status if non-nil