mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
Wrap global variables in extern C
Reviewed By: compnerd Differential Revision: D7144899 fbshipit-source-id: d40bda0e9225734398e35adc582b8932c0280b24
This commit is contained in:
committed by
Facebook Github Bot
parent
0d148ad67a
commit
ffcd067977
@@ -7,10 +7,18 @@
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern NSString *const RCTBundleURLProviderUpdatedNotification;
|
||||
|
||||
extern const NSUInteger kRCTBundleURLProviderDefaultPort;
|
||||
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
@interface RCTBundleURLProvider : NSObject
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user