Function
public enum Function : CustomStringConvertible
An enumeration describing a function.
-
A function referred to by its address.
Declaration
Swift
case address(UnsafeMutableRawPointer) -
A function referred to by its name and (optionally) image.
If
imageisnil, it implies that the function may be in any image.Declaration
Swift
case symbol(_: String, image: URL?) -
Equivalent to
.symbol(name, image: URL(fileURLWithPath: image))This initializer deliberately requires a non-nil
imageparameter, because allowingnilwould cause ambiguity between this method and the enum case when passednilas the second parameter. To use anilimage, invokesymbol(_:String image:URL?)instead, passingURL?.none.Declaration
Swift
public static func symbol(_ name: String, image: String) -> FunctionParameters
nameThe name of the symbol.
imageThe path to the image in which the symbol is located.
Return Value
The described
Function. -
Declaration
Swift
public var description: String { get }
View on GitHub
Install in Dash
Function Enumeration Reference