mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
Export JSExecutor
Reviewed By: rzito Differential Revision: D8187754 fbshipit-source-id: e0da3781e2b3e24cef04086d15e3f5394e059d30
This commit is contained in:
committed by
Facebook Github Bot
parent
957ef606b9
commit
2bf47559b5
@@ -8,6 +8,10 @@
|
||||
#include <cxxreact/NativeModule.h>
|
||||
#include <folly/dynamic.h>
|
||||
|
||||
#ifndef RN_EXPORT
|
||||
#define RN_EXPORT __attribute__((visibility("default")))
|
||||
#endif
|
||||
|
||||
namespace facebook {
|
||||
namespace react {
|
||||
|
||||
@@ -42,7 +46,7 @@ public:
|
||||
virtual ~JSExecutorFactory() {}
|
||||
};
|
||||
|
||||
class JSExecutor {
|
||||
class RN_EXPORT JSExecutor {
|
||||
public:
|
||||
/**
|
||||
* Execute an application script bundle in the JS context.
|
||||
|
||||
Reference in New Issue
Block a user