mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-07 23:27:05 +08:00
Base class for all object private data passed to JSC
Reviewed By: amnn Differential Revision: D5761937 fbshipit-source-id: de88cf8b959fc855c3c0786f817bb6032491c819
This commit is contained in:
committed by
Facebook Github Bot
parent
8bf8b21613
commit
d6c519bc96
@@ -14,6 +14,7 @@
|
||||
#include <jschelpers/JSCHelpers.h>
|
||||
#include <jschelpers/JavaScriptCore.h>
|
||||
#include <jschelpers/Value.h>
|
||||
#include <privatedata/PrivateDataBase.h>
|
||||
|
||||
#ifndef RN_EXPORT
|
||||
#define RN_EXPORT __attribute__((visibility("default")))
|
||||
@@ -50,7 +51,7 @@ struct JSCValueEncoder<folly::dynamic> {
|
||||
}
|
||||
};
|
||||
|
||||
class RN_EXPORT JSCExecutor : public JSExecutor {
|
||||
class RN_EXPORT JSCExecutor : public JSExecutor, public PrivateDataBase {
|
||||
public:
|
||||
/**
|
||||
* Must be invoked from thread this Executor will run on.
|
||||
|
||||
Reference in New Issue
Block a user