Documentation Language: Swift

Method

pointer(to:in:isConst:pointerIsConst:)

Create a single-indirection pointer to a given target

static func pointer(to target: GIRType, in namespace: String? = nil, isConst const: Bool = false, pointerIsConst: Bool = false) -> TypeReference

Parameters

target

The target type to reference

namespace

The name space to use, nil if top level

const

Whether the target is const

pointerIsConst

Whether the pointer itself is const

Return Value

A type reference representing a pointer to the target