From 2bf47559b5ad69b9b8b8cd960f71f3ba831e3ed2 Mon Sep 17 00:00:00 2001 From: Dan Zimmerman Date: Tue, 29 May 2018 12:07:07 -0700 Subject: [PATCH] Export JSExecutor Reviewed By: rzito Differential Revision: D8187754 fbshipit-source-id: e0da3781e2b3e24cef04086d15e3f5394e059d30 --- ReactCommon/cxxreact/JSExecutor.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ReactCommon/cxxreact/JSExecutor.h b/ReactCommon/cxxreact/JSExecutor.h index 35338cd0876..e699c79b226 100644 --- a/ReactCommon/cxxreact/JSExecutor.h +++ b/ReactCommon/cxxreact/JSExecutor.h @@ -8,6 +8,10 @@ #include #include +#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.