File tree Expand file tree Collapse file tree 3 files changed +5
-43
lines changed
Expand file tree Collapse file tree 3 files changed +5
-43
lines changed Original file line number Diff line number Diff line change 125125 'src/node_file.h' ,
126126 'src/node_http_parser.h' ,
127127 'src/node_javascript.h' ,
128- 'src/node_os.h' ,
129128 'src/node_root_certs.h' ,
130129 'src/node_version.h' ,
131130 'src/node_watchdog.h' ,
Original file line number Diff line number Diff line change 2121
2222
2323#include " node.h"
24- #include " node_os.h"
25-
2624#include " v8.h"
2725
2826#include < errno.h>
4543#endif // MAXHOSTNAMELEN
4644
4745namespace node {
46+ namespace os {
4847
4948using v8::Array;
5049using v8::FunctionCallbackInfo;
50+ using v8::Handle;
5151using v8::HandleScope;
5252using v8::Local;
5353using v8::Number;
@@ -275,7 +275,7 @@ static void GetInterfaceAddresses(const FunctionCallbackInfo<Value>& args) {
275275}
276276
277277
278- void OS:: Initialize (v8:: Handle<v8:: Object> target) {
278+ void Initialize (Handle<Object> target) {
279279 HandleScope scope (node_isolate);
280280
281281 NODE_SET_METHOD (target, " getEndianness" , GetEndianness);
@@ -290,7 +290,7 @@ void OS::Initialize(v8::Handle<v8::Object> target) {
290290 NODE_SET_METHOD (target, " getInterfaceAddresses" , GetInterfaceAddresses);
291291}
292292
293-
293+ } // namespace os
294294} // namespace node
295295
296- NODE_MODULE (node_os, node::OS ::Initialize)
296+ NODE_MODULE (node_os, node::os ::Initialize)
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments