mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
That is, the stubs we generate when you rename a C global function imported as a type member using the SwiftName API note. (See the test case changes.) Previously we hit an assertion. For good measure, also fix versioned stubs for types-as-members, which were always added to their original context rather than the new context. rdar://problem/31435658
15 lines
362 B
C
15 lines
362 B
C
#ifndef IMPORT_AS_MEMBER_APINOTES_H
|
|
#define IMPORT_AS_MEMBER_APINOTES_H
|
|
|
|
#include "ImportAsMember.h"
|
|
|
|
extern double IAMStruct1APINoteVar;
|
|
extern double IAMStruct1APINoteVarInSwift4;
|
|
|
|
extern void IAMStruct1APINoteFunction(void);
|
|
extern struct IAMStruct1 IAMStruct1APINoteCreateFunction(int);
|
|
|
|
typedef double IAMStruct1APINoteType;
|
|
|
|
#endif // IMPORT_AS_MEMBER_B_H
|