mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Only include _getMetadataSection functions in stdlib builds w/ assertions
This commit is contained in:
@@ -133,7 +133,7 @@ public func _getTypeByMangledNameInContext(
|
|||||||
genericArguments: UnsafeRawPointer?)
|
genericArguments: UnsafeRawPointer?)
|
||||||
-> Any.Type?
|
-> Any.Type?
|
||||||
|
|
||||||
|
#if INTERNAL_CHECKS_ENABLED
|
||||||
@_silgen_name("swift_getMetadataSection")
|
@_silgen_name("swift_getMetadataSection")
|
||||||
public func _getMetadataSection(
|
public func _getMetadataSection(
|
||||||
_ index: UInt)
|
_ index: UInt)
|
||||||
@@ -147,4 +147,4 @@ public func _getMetadataSectionCount()
|
|||||||
public func _getMetadataSectionName(
|
public func _getMetadataSectionName(
|
||||||
_ metadata_section: UnsafeRawPointer)
|
_ metadata_section: UnsafeRawPointer)
|
||||||
-> UnsafePointer<CChar>
|
-> UnsafePointer<CChar>
|
||||||
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user