Skip to content

Commit e205317

Browse files
sparistDawn LUCI CQ
authored andcommitted
Export Initialize function
Change-Id: I1dc55c5b76b04b73a439d46ffa2fb5a4a3f90ae6 Bug: dawn:1977 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/146684 Reviewed-by: Ben Clayton <[email protected]> Commit-Queue: Ben Clayton <[email protected]> Kokoro: Kokoro <[email protected]>
1 parent bdabd11 commit e205317

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dawn/node/Module.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ struct Coverage {
9090
// Initialize() initializes the Dawn node module, registering all the WebGPU
9191
// types into the global object, and adding the 'create' function on the exported
9292
// object.
93-
Napi::Object Initialize(Napi::Env env, Napi::Object exports) {
93+
NAPI_MODULE_EXPORT Napi::Object Initialize(Napi::Env env, Napi::Object exports) {
9494
// Set all the Dawn procedure function pointers.
9595
dawnProcSetProcs(&dawn::native::GetProcs());
9696

0 commit comments

Comments
 (0)