Make Node.js language bindings context aware
They don't have any dynamic global data, so all it takes is just declaring them as such
This commit is contained in:
parent
660481dbf7
commit
4a42c6d5f1
1 changed files with 1 additions and 1 deletions
|
|
@ -23,6 +23,6 @@ void Init(Local<Object> exports, Local<Object> module) {
|
|||
Nan::Set(module, Nan::New("exports").ToLocalChecked(), instance);
|
||||
}
|
||||
|
||||
NODE_MODULE(tree_sitter_PARSER_NAME_binding, Init)
|
||||
NODE_MODULE_CONTEXT_AWARE(tree_sitter_PARSER_NAME_binding, Init)
|
||||
|
||||
} // namespace
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue