Documentation Language: Swift

Method

cast(expression:pointerLevel:const:isConstSource:)

Return the default cast to convert the given expression to an opaque pointer

override func cast(expression e: String, pointerLevel: Int = 0, const: Bool = false, isConstSource: Bool = false) -> String

Parameters

e

The expression to cast

pointerLevel

The number of indirection levels (pointers)

const

An indicator whether the cast is to a const value

isConstSource

An indicator whether the source expression is a const value

Return Value

The cast expression string