diff --git a/Sources/OpenAttributeGraphShims/Adapter/Compute.swift b/Sources/OpenAttributeGraphShims/Adapter/Compute.swift index 669645c9..e6be32ba 100644 --- a/Sources/OpenAttributeGraphShims/Adapter/Compute.swift +++ b/Sources/OpenAttributeGraphShims/Adapter/Compute.swift @@ -51,6 +51,26 @@ extension Graph { } } +#if !canImport(Darwin) +extension Graph { + public func print(includeValues: Bool) {} + + public func archiveJSON(name: String?) {} + + public static func archiveJSON(name: UnsafePointer?) {} + + public func graphvizDescription(includeValues: Bool) -> String { + "" + } + + public static func printStack(maxFrames: Int) {} + + public static func stackDescription(maxFrames: Int) -> String { + "" + } +} +#endif + extension _AttributeBody { public typealias Flags = _AttributeType.Flags }