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
Constantto 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
trueif introspectable deprecated-
Documentation on deprecation status if non-
nil