0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00

Adding missing v8 namespace to NODE_PSYMBOL

This commit is contained in:
Mariano Iglesias 2011-03-11 07:09:05 -03:00 committed by Paul Querna
parent 220e2281e4
commit 075605f304

View File

@ -39,7 +39,7 @@ namespace node {
int Start (int argc, char *argv[]);
#define NODE_PSYMBOL(s) Persistent<String>::New(String::NewSymbol(s))
#define NODE_PSYMBOL(s) v8::Persistent<v8::String>::New(v8::String::NewSymbol(s))
/* Converts a unixtime to V8 Date */
#define NODE_UNIXTIME_V8(t) v8::Date::New(1000*static_cast<double>(t))