chore: rename built-in modules to bindings to match naming update in node (#37182)

This commit is contained in:
Milan Burda
2023-02-09 02:31:38 +01:00
committed by GitHub
parent 8b380ee2f2
commit 35a9e67dba
56 changed files with 103 additions and 100 deletions

View File

@@ -138,7 +138,7 @@ interface Process {
At the very bottom of your `api_name.cc` file:
```cpp title='api_name.cc'
NODE_LINKED_MODULE_CONTEXT_AWARE(electron_browser_{api_name},Initialize)
NODE_LINKED_BINDING_CONTEXT_AWARE(electron_browser_{api_name},Initialize)
```
In your [`shell/common/node_bindings.cc`](https://github.com/electron/electron/blob/main/shell/common/node_bindings.cc) file, add your node binding name to Electron's built-in modules.