Skip to content

Commit 8bc37c7

Browse files
committed
[PlaygroundLogger] Mark legacyLogPostPrint as public.
This is used by lldb via `@_silgen_name`, but if it's only internal then it's not available for use.
1 parent 639db65 commit 8bc37c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PlaygroundLogger/PlaygroundLogger/LegacySupport/LegacyEntrypoints.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public func legacyLogScopeExit(startLine: Int, endLine: Int, startColumn: Int, e
8888
}
8989

9090
@_silgen_name ("playground_log_postprint")
91-
func legacyLogPostPrint(startLine: Int, endLine: Int, startColumn: Int, endColumn: Int) -> AnyObject {
91+
public func legacyLogPostPrint(startLine: Int, endLine: Int, startColumn: Int, endColumn: Int) -> AnyObject {
9292
let printedString = Thread.current.threadDictionary[printedStringThreadDictionaryKey] as! String? ?? ""
9393

9494
Thread.current.threadDictionary.removeObject(forKey: printedStringThreadDictionaryKey)

0 commit comments

Comments
 (0)