mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This is bullet (5) of the proposed solution in SE-0112, and the last major piece to be implemented.
21 lines
417 B
Objective-C
21 lines
417 B
Objective-C
#ifndef IMPORTED_PROTOCOLS_H
|
|
#define IMPORTED_PROTOCOLS_H
|
|
|
|
@import Foundation;
|
|
|
|
@protocol ImportedProtocolBase;
|
|
@protocol ImportedProtocolBase <NSObject>
|
|
@end
|
|
typedef NSObject<ImportedProtocolBase> * ImportedProtocolBase_t;
|
|
|
|
@protocol IPSub;
|
|
@protocol IPSub <ImportedProtocolBase>
|
|
@end
|
|
typedef NSObject<IPSub> * IPSub_t;
|
|
|
|
typedef NSObject<IPSub> * Dummy;
|
|
|
|
void takesIPSub(IPSub_t in);
|
|
|
|
#endif // IMPORTED_PROTOCOLS_H
|