chore: rename built-in modules to bindings to match naming update in node (#37182)
This commit is contained in:
parent
8b380ee2f2
commit
35a9e67dba
56 changed files with 103 additions and 100 deletions
|
@ -31,10 +31,10 @@
|
|||
|
||||
#include "electron/pop_node_defines.h"
|
||||
|
||||
// Alternative to NODE_MODULE_CONTEXT_AWARE_X.
|
||||
// Allows to explicitly register builtin modules instead of using
|
||||
// Alternative to NODE_BINDING_CONTEXT_AWARE_X.
|
||||
// Allows to explicitly register builtin bindings instead of using
|
||||
// __attribute__((constructor)).
|
||||
#define NODE_LINKED_MODULE_CONTEXT_AWARE(modname, regfunc) \
|
||||
#define NODE_LINKED_BINDING_CONTEXT_AWARE(modname, regfunc) \
|
||||
NODE_BINDING_CONTEXT_AWARE_CPP(modname, regfunc, nullptr, NM_F_LINKED)
|
||||
|
||||
#endif // ELECTRON_SHELL_COMMON_NODE_INCLUDES_H_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue