Match the linkage used for FBJSContextStartGCTimers, configureJSCForIOS

Reviewed By: dcaspi

Differential Revision: D6184848

fbshipit-source-id: cf016caddcccab8de9ffccbe616e579005ae05d0
This commit is contained in:
Dan Zimmerman 2017-11-02 08:07:25 -07:00 committed by Facebook Github Bot
parent 3d7cf4f0cf
commit c6a30ab949

View File

@ -36,12 +36,18 @@ JSC_IMPORT facebook::react::IInspector* JSInspectorGetInstance();
// This is used to substitute an alternate JSC implementation for // This is used to substitute an alternate JSC implementation for
// testing. These calls must all be ABI compatible with the standard JSC. // testing. These calls must all be ABI compatible with the standard JSC.
JSC_IMPORT void configureJSCForIOS(std::string); // TODO: replace with folly::dynamic once supported
JSC_IMPORT JSValueRef JSEvaluateBytecodeBundle(JSContextRef, JSObjectRef, int, JSStringRef, JSValueRef*); JSC_IMPORT JSValueRef JSEvaluateBytecodeBundle(JSContextRef, JSObjectRef, int, JSStringRef, JSValueRef*);
JSC_IMPORT bool JSSamplingProfilerEnabled(); JSC_IMPORT bool JSSamplingProfilerEnabled();
JSC_IMPORT void JSStartSamplingProfilingOnMainJSCThread(JSGlobalContextRef); JSC_IMPORT void JSStartSamplingProfilingOnMainJSCThread(JSGlobalContextRef);
JSC_IMPORT JSValueRef JSPokeSamplingProfiler(JSContextRef); JSC_IMPORT JSValueRef JSPokeSamplingProfiler(JSContextRef);
#ifdef __cplusplus
extern "C" {
#endif
JSC_IMPORT void configureJSCForIOS(std::string); // TODO: replace with folly::dynamic once supported
JSC_IMPORT void FBJSContextStartGCTimers(JSContextRef); JSC_IMPORT void FBJSContextStartGCTimers(JSContextRef);
#ifdef __cplusplus
}
#endif
#if defined(__APPLE__) #if defined(__APPLE__)
#import <objc/objc.h> #import <objc/objc.h>