File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -230,6 +230,8 @@ Load (int argc, char *argv[])
230230
231231 global_obj->Set (String::NewSymbol (" node" ), node_obj);
232232
233+ node_obj->Set (String::NewSymbol (" version" ), String::New (NODE_VERSION ));
234+
233235 Local<Array> arguments = Array::New (argc);
234236 for (int i = 0 ; i < argc; i++) {
235237 Local<String> arg = String::New (argv[i]);
Original file line number Diff line number Diff line change 1010
1111namespace node {
1212
13+ #define NODE_VERSION " 0.1.2"
14+
1315#define NODE_DEFINE_CONSTANT (target, constant ) \
1416 (target)->Set (v8::String::NewSymbol(#constant), \
1517 v8::Integer::New(constant))
Original file line number Diff line number Diff line change @@ -6,9 +6,6 @@ from logging import fatal
66
77import js2c
88
9- VERSION = '0.1.2'
10- APPNAME = 'node'
11-
129srcdir = '.'
1310blddir = 'build'
1411cwd = os .getcwd ()
You can’t perform that action at this time.
0 commit comments