summaryrefslogtreecommitdiff
path: root/src/node.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/node.h')
-rw-r--r--src/node.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/node.h b/src/node.h
index 5f74854891..1d4583bbcc 100644
--- a/src/node.h
+++ b/src/node.h
@@ -442,10 +442,6 @@ typedef void (*addon_context_register_func)(
v8::Local<v8::Context> context,
void* priv);
-#define NM_F_BUILTIN 0x01
-#define NM_F_LINKED 0x02
-#define NM_F_INTERNAL 0x04
-
struct node_module {
int nm_version;
unsigned int nm_flags;
@@ -529,9 +525,6 @@ extern "C" NODE_EXTERN void node_module_register(void* mod);
#define NODE_MODULE_CONTEXT_AWARE(modname, regfunc) \
NODE_MODULE_CONTEXT_AWARE_X(modname, regfunc, NULL, 0)
-#define NODE_MODULE_CONTEXT_AWARE_BUILTIN(modname, regfunc) \
- NODE_MODULE_CONTEXT_AWARE_X(modname, regfunc, NULL, NM_F_BUILTIN) \
-
/*
* For backward compatibility in add-on modules.
*/