Skip to content

Commit 3743cbc

Browse files
committed
stdlib: annotate some more symbols with interfaces
Mark some more of the SwiftShim interfaces with the RUNTIME_INTERFACE decoration.
1 parent 414cfe7 commit 3743cbc

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

stdlib/public/SwiftShims/GlobalObjects.h

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
#include "SwiftStdint.h"
2222
#include "HeapObject.h"
23+
#include "Visibility.h"
2324

2425
#ifdef __cplusplus
2526
namespace swift { extern "C" {
@@ -35,11 +36,14 @@ struct _SwiftEmptyArrayStorage {
3536
struct _SwiftArrayBodyStorage body;
3637
};
3738

38-
extern struct _SwiftEmptyArrayStorage _swiftEmptyArrayStorage;
39+
extern SWIFT_RUNTIME_STDLIB_INTERFACE
40+
struct _SwiftEmptyArrayStorage _swiftEmptyArrayStorage;
3941

40-
extern __swift_uint64_t _swift_stdlib_HashingDetail_fixedSeedOverride;
42+
extern SWIFT_RUNTIME_STDLIB_INTERFACE
43+
__swift_uint64_t _swift_stdlib_HashingDetail_fixedSeedOverride;
4144

42-
extern void *_swift_stdlib_ProcessArguments;
45+
extern SWIFT_RUNTIME_STDLIB_INTERFACE
46+
void *_swift_stdlib_ProcessArguments;
4347

4448
#ifdef __cplusplus
4549
}} // extern "C", namespace swift

0 commit comments

Comments
 (0)