mirror of
https://github.com/status-im/react-native.git
synced 2025-02-04 13:44:04 +00:00
Match the linkage used for FBJSContextStartGCTimers, configureJSCForIOS
Reviewed By: dcaspi Differential Revision: D6184848 fbshipit-source-id: cf016caddcccab8de9ffccbe616e579005ae05d0
This commit is contained in:
parent
3d7cf4f0cf
commit
c6a30ab949
@ -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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user