Skip to content

Commit

Permalink
fix recent emscripten link error
Browse files Browse the repository at this point in the history
  • Loading branch information
toyobayashi committed Aug 25, 2023
1 parent 3752e2d commit 9bc69c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/emnapi/src/node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ function __emnapi_node_emit_async_destroy (async_id: double, trigger_async_id: d
})
$from64('result')
$makeSetValue('result', 0, 'nativeCallbackScopePointer', 'i64')
$_TODO_makeSetValue('result', 0, 'nativeCallbackScopePointer', 'i64')
}
function __emnapi_node_close_callback_scope (scope: Pointer<int64_t>): void {
if (!emnapiNodeBinding || !scope) return
$from64('scope')
const nativeCallbackScopePointer = $makeGetValue('scope', 0, 'i64')
const nativeCallbackScopePointer = $_TODO_makeGetValue('scope', 0, 'i64')
emnapiNodeBinding.node.closeCallbackScope(BigInt(nativeCallbackScopePointer))
} */

Expand Down

0 comments on commit 9bc69c5

Please sign in to comment.