We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 756c196 + 5022dbc commit 03ecfe2Copy full SHA for 03ecfe2
stdlib/public/core/RuntimeFunctionCounters.swift
@@ -91,8 +91,13 @@ internal func _collectAllReferencesInsideObjectImpl(
91
// of runtime function counters.
92
public // @testable
93
struct _RuntimeFunctionCounters {
94
+#if os(Windows) && arch(x86_64)
95
public typealias RuntimeFunctionCountersUpdateHandler =
- @convention(c) (_ object: UnsafeRawPointer, _ functionId: Int64) -> Void
96
+ @convention(c) (_ object: UnsafeRawPointer, _ functionId: Int) -> Void
97
+#else
98
+ public typealias RuntimeFunctionCountersUpdateHandler =
99
+ @convention(c) (_ object: UnsafeRawPointer, _ functionId: Int64) -> Void
100
+#endif
101
102
public static let runtimeFunctionNames =
103
getRuntimeFunctionNames()
0 commit comments