Skip to content

AccessibleFunction

tevelee edited this page Jul 25, 2026 · 1 revision

AccessibleFunction

A function record that the Swift runtime can locate by its mangled name.

public struct AccessibleFunction: LayoutWrapper 

The entry point is fully abstracted and may be synchronous, asynchronous, or a distributed-actor accessor. Echo exposes the record but does not call it because constructing its arguments is runtime-specific.

Inheritance

LayoutWrapper

Properties

mangledName

The symbolic Swift mangling that identifies this function.

public var mangledName: UnsafeRawPointer 

mangledNameLength

The byte length of mangledName, including symbolic-reference payloads.

public var mangledNameLength: Int 

genericEnvironment

The generic environment needed to construct this function's arguments.

public var genericEnvironment: GenericEnvironment? 

mangledType

The symbolic mangling of the function's fully abstracted type.

public var mangledType: UnsafeRawPointer 

mangledTypeLength

The byte length of mangledType, including symbolic-reference payloads.

public var mangledTypeLength: Int 

function

The fully abstracted function entry point. Echo does not invoke it.

public var function: UnsafeRawPointer 

flags

Flags describing this record.

public var flags: AccessibleFunctionFlags 
Types
Protocols
Global Typealiases
Global Variables
Global Functions

Clone this wiki locally