Documentation Language: Swift

Initializer

init(aliasOf:name:in:swiftName:ctype:)

Initialise a new type as an alias of the given type reference, cloning its type conversions

convenience init(aliasOf: GIRType, name: String? = nil, in namespace: String? = nil, swiftName: String? = nil, ctype: String? = nil)

Parameters

aliasOf

The type to alias

name

The name of the new alias, or nil if the same as the aliased type

namespace

The namespace to use, nil to use namespace of referenced alias

swiftName

The swift name of the new alias, or nil if the same as the aliased type

ctype

The C type of the new alias, or nil if the same as the aliased type

Discussion