mirror of
https://github.com/openharmony/js_worker_module.git
synced 2026-07-19 19:23:34 -04:00
change header file of napi
Signed-off-by: zhanghaibo <zhanghaibo0@huawei.com> Change-Id: I6a7f6778e3787c8688cdf9f562d41f75276135dd
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
#include <mutex>
|
||||
#include <queue>
|
||||
#include "napi/native_api.h"
|
||||
#include "napi/native_node_api.h"
|
||||
|
||||
namespace OHOS::CCRuntime::Worker {
|
||||
using MessageDataType = napi_value;
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
#include <mutex>
|
||||
#include <uv.h>
|
||||
#include "message_queue.h"
|
||||
#include "napi/native_api.h"
|
||||
#include "napi/native_node_api.h"
|
||||
#include "native_engine/native_engine.h"
|
||||
#include "utils/log.h"
|
||||
@@ -279,4 +280,4 @@ private:
|
||||
std::recursive_mutex liveStatusLock_ {};
|
||||
};
|
||||
} // namespace OHOS::CCRuntime::Worker
|
||||
#endif // FOUNDATION_CCRUNTIME_JSAPI_WORKER_H
|
||||
#endif // FOUNDATION_CCRUNTIME_JSAPI_WORKER_H
|
||||
|
||||
Reference in New Issue
Block a user