File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1586,12 +1586,6 @@ static Handle<Value> Binding(const Arguments& args) {
15861586 exports = Object::New ();
15871587 modp->register_func (exports);
15881588 binding_cache->Set (module , exports);
1589- }
1590- else if (!strcmp (*module_v, " stdio" )) {
1591- exports = Object::New ();
1592- Stdio::Initialize (exports);
1593- binding_cache->Set (module , exports);
1594-
15951589 } else if (!strcmp (*module_v, " cares" )) {
15961590 exports = Object::New ();
15971591 Cares::Initialize (exports);
Original file line number Diff line number Diff line change 11
22NODE_EXT_LIST_START
3- NODE_EXT_LIST_ITEM (node_net )
43#ifdef HAVE_OPENSSL
54NODE_EXT_LIST_ITEM (node_crypto )
65#endif
6+ NODE_EXT_LIST_ITEM (node_net )
7+ NODE_EXT_LIST_ITEM (node_stdio )
78NODE_EXT_LIST_END
89
Original file line number Diff line number Diff line change @@ -216,3 +216,5 @@ void Stdio::Initialize(v8::Handle<v8::Object> target) {
216216
217217
218218} // namespace node
219+
220+ NODE_MODULE (node_stdio, node::Stdio::Initialize);
You can’t perform that action at this time.
0 commit comments