mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
stdlib: remove swift_createDate
It was added for testing and it is actually never used now. Swift SVN r26195
This commit is contained in:
@@ -17,7 +17,3 @@
|
|||||||
|
|
||||||
#include <Foundation/Foundation.h>
|
#include <Foundation/Foundation.h>
|
||||||
|
|
||||||
// FIXME: Just a hack for testing!
|
|
||||||
extern "C" NSDate *swift_createDate(void) {
|
|
||||||
return [NSDate date];
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -119,8 +119,6 @@
|
|||||||
- (signed char)isEqualToDate:(NSDate *)anotherDate;
|
- (signed char)isEqualToDate:(NSDate *)anotherDate;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
NSDate *swift_createDate(void);
|
|
||||||
|
|
||||||
@interface NSProxy
|
@interface NSProxy
|
||||||
+ alloc;
|
+ alloc;
|
||||||
@end
|
@end
|
||||||
|
|||||||
@@ -119,8 +119,6 @@
|
|||||||
- (signed char)isEqualToDate:(NSDate *)anotherDate;
|
- (signed char)isEqualToDate:(NSDate *)anotherDate;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
NSDate *swift_createDate(void);
|
|
||||||
|
|
||||||
@interface NSProxy
|
@interface NSProxy
|
||||||
+ alloc;
|
+ alloc;
|
||||||
@end
|
@end
|
||||||
|
|||||||
Reference in New Issue
Block a user