Skip to content

Commit 106abfa

Browse files
committed
src: run clang-format
1 parent 92d27b8 commit 106abfa

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

napi-inl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4913,7 +4913,7 @@ inline void AsyncWorker::OnWorkComplete(Napi::Env /*env*/, napi_status status) {
49134913
}
49144914
}
49154915

4916-
#endif // NAPI_HAS_THREADS
4916+
#endif // NAPI_HAS_THREADS
49174917

49184918
#if (NAPI_VERSION > 3 && NAPI_HAS_THREADS)
49194919
////////////////////////////////////////////////////////////////////////////////

napi.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
#define SRC_NAPI_H_
33

44
#ifndef NAPI_HAS_THREADS
5-
#if !defined(__wasm__) || (defined(__EMSCRIPTEN_PTHREADS__) || (defined(__wasi__) && defined(_REENTRANT)))
5+
#if !defined(__wasm__) || (defined(__EMSCRIPTEN_PTHREADS__) || \
6+
(defined(__wasi__) && defined(_REENTRANT)))
67
#define NAPI_HAS_THREADS 1
78
#else
89
#define NAPI_HAS_THREADS 0
@@ -2508,7 +2509,7 @@ class AsyncWorker {
25082509
std::string _error;
25092510
bool _suppress_destruct;
25102511
};
2511-
#endif // NAPI_HAS_THREADS
2512+
#endif // NAPI_HAS_THREADS
25122513

25132514
#if (NAPI_VERSION > 3 && NAPI_HAS_THREADS)
25142515
class ThreadSafeFunction {

0 commit comments

Comments
 (0)