File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change
1
+ #if __OBJC__
2
+
1
3
@import Foundation;
2
4
3
5
@interface ObjCBaseClass
186
188
187
189
@end
188
190
191
+ @protocol EmptyObjCProto
192
+ @end
193
+
194
+ #endif
195
+
189
196
void CImplFunc1 (int param);
190
197
void CImplFunc2 (int param);
191
198
192
199
void CImplFuncMismatch1 (int param);
193
200
void CImplFuncMismatch2 (int param);
201
+
202
+ #if __OBJC__
194
203
void CImplFuncMismatch3 (_Nullable id param);
195
204
void CImplFuncMismatch4 (_Nullable id param);
196
205
void CImplFuncMismatch5 (_Nonnull id param);
@@ -199,6 +208,8 @@ _Nullable id CImplFuncMismatch3a(int param);
199
208
_Nullable id CImplFuncMismatch4a (int param);
200
209
_Nonnull id CImplFuncMismatch5a (int param);
201
210
_Nonnull id CImplFuncMismatch6a (int param);
211
+ #endif
212
+
202
213
void CImplFuncNameMismatch1 (int param);
203
214
void CImplFuncNameMismatch2 (int param);
204
215
@@ -212,6 +223,3 @@ void CImplStructStaticFunc1(int param) __attribute__((swift_name("CImplStruct.st
212
223
struct ObjCStruct {
213
224
int foo;
214
225
};
215
-
216
- @protocol EmptyObjCProto
217
- @end
You can’t perform that action at this time.
0 commit comments