Export JSExecutor

Reviewed By: rzito

Differential Revision: D8187754

fbshipit-source-id: e0da3781e2b3e24cef04086d15e3f5394e059d30
This commit is contained in:
Dan Zimmerman 2018-05-29 12:07:07 -07:00 committed by Facebook Github Bot
parent 957ef606b9
commit 2bf47559b5
1 changed files with 5 additions and 1 deletions

View File

@ -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.