mirror of https://github.com/nodejs/node.git
parent
db73c71280
commit
124fbedc2f
|
@ -1744,10 +1744,7 @@ static void AtExit() {
|
|||
}
|
||||
|
||||
|
||||
} // namespace node
|
||||
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
int Start(int argc, char *argv[]) {
|
||||
// Hack aroung with the argv pointer. Used for process.title = "blah".
|
||||
argv = node::OS::SetupArgs(argc, argv);
|
||||
|
||||
|
@ -1879,3 +1876,6 @@ int main(int argc, char *argv[]) {
|
|||
#endif // NDEBUG
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
} // namespace node
|
||||
|
|
|
@ -17,6 +17,8 @@
|
|||
|
||||
namespace node {
|
||||
|
||||
int Start (int argc, char *argv[]);
|
||||
|
||||
#define NODE_PSYMBOL(s) Persistent<String>::New(String::NewSymbol(s))
|
||||
|
||||
/* Converts a unixtime to V8 Date */
|
||||
|
|
Loading…
Reference in New Issue