Functions
The following functions are available globally.
-
Undocumented
Declaration
Swift
public func log(_ message: String, verbose: Bool = false, sourceKit: Bool = false, hasPrefix: Bool = true)
-
Undocumented
Declaration
Swift
public func dlopen(_ path: String?, mode: DLOpenFlags) throws -> DLHandle
-
Undocumented
Declaration
Swift
public func dlsym<T>(_ handle: DLHandle, symbol: String) -> T?
-
Undocumented
Declaration
Swift
public func dlclose(_ handle: DLHandle) throws
-
Undocumented
Declaration
Swift
public func dlerror() -> String?
-
Crashes SwiftInfo with a message.
Declaration
Swift
public func fail(_ message: String) -> Never