Skip to content

Commit

Permalink
Export JSExecutor
Browse files Browse the repository at this point in the history
Reviewed By: rzito

Differential Revision: D8187754

fbshipit-source-id: e0da3781e2b3e24cef04086d15e3f5394e059d30
  • Loading branch information
Dan Zimmerman authored and facebook-github-bot committed May 29, 2018
1 parent 957ef60 commit 2bf4755
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ReactCommon/cxxreact/JSExecutor.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Expand Down Expand Up @@ -42,7 +46,7 @@ class JSExecutorFactory {
virtual ~JSExecutorFactory() {}
};

class JSExecutor {
class RN_EXPORT JSExecutor {
public:
/**
* Execute an application script bundle in the JS context.
Expand Down

0 comments on commit 2bf4755

Please sign in to comment.