Skip to content

Commit 437993a

Browse files
committed
Cleanup
1 parent beb8810 commit 437993a

File tree

4 files changed

+3
-6
lines changed

4 files changed

+3
-6
lines changed

packages/host/cpp/RuntimeNodeApi.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,4 +121,4 @@ napi_status napi_create_external_buffer(napi_env env,
121121
return napi_create_typedarray(env, ArrayType, length, buffer, 0, result);
122122
}
123123

124-
} // namespace callstack::nodeapihost
124+
} // namespace callstack::nodeapihost

packages/host/ios/NodeApiHostModuleProvider.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#import "CxxNodeApiHostModule.hpp"
22
#import "WeakNodeApiInjector.hpp"
3-
#include "RuntimeNodeApiAsync.hpp"
3+
#import "RuntimeNodeApiAsync.hpp"
44

55
#define USE_CXX_TURBO_MODULE_UTILS 0
66
#if defined(__has_include)

packages/host/scripts/generate-weak-node-api-injector.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,6 @@ export function generateSource(functions: FunctionDecl[]) {
6666
.join("\n")}
6767
});
6868
}
69-
void initialize(const std::shared_ptr<facebook::react::CallInvoker>& invoker) {
70-
callstack::nodeapihost::initialize(invoker);
71-
}
7269
} // namespace callstack::nodeapihost
7370
`;
7471
}

packages/node-addon-examples/tests/async/addon.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,4 +257,4 @@ static napi_value Init(napi_env env, napi_value exports) {
257257
return exports;
258258
}
259259

260-
NAPI_MODULE(NODE_GYP_MODULE_NAME, Init)
260+
NAPI_MODULE(NODE_GYP_MODULE_NAME, Init)

0 commit comments

Comments
 (0)