mirror of
https://github.com/apple/swift.git
synced 2026-06-27 12:25:55 +02:00
50c048d7e9
This allows for testing the autogenerated bridging stub code.
27 lines
849 B
Objective-C
27 lines
849 B
Objective-C
//===---------------- ObjectiveCTests.h -----------------------------------===//
|
|
//
|
|
// This source file is part of the Swift.org open source project
|
|
//
|
|
// Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
|
|
// Licensed under Apache License v2.0 with Runtime Library Exception
|
|
//
|
|
// See http://swift.org/LICENSE.txt for license information
|
|
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
@interface BridgeTester : NSObject {
|
|
NSString *myString;
|
|
NSArray<NSString *> *myArrayOfStrings;
|
|
}
|
|
|
|
- (id)init;
|
|
- (void)testFromString:(NSString *) str;
|
|
- (NSString *)testToString;
|
|
- (void)testFromArrayOfStrings:(NSArray<NSString *> *)arr;
|
|
- (NSArray<NSString *> *)testToArrayOfStrings;
|
|
|
|
@end
|