- Timestamp:
- 11/03/12 19:43:32 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/InterpreterV8.cc
r14555 r14556 899 899 { 900 900 Handle<ObjectTemplate> obj = ObjectTemplate::New(); 901 obj->Set(String::New("index"), state.index<=-256?Undefined():Integer::New(state.index), ReadOnly); 902 obj->Set(String::New("name"), state.index<=-256?Undefined():String::New(state.name.c_str()), ReadOnly); 903 obj->Set(String::New("server"), String::New(server.c_str()), ReadOnly); 901 obj->Set(String::New("index"), state.index<=-256?Undefined():Integer::New(state.index), ReadOnly); 902 obj->Set(String::New("name"), state.index<=-256?Undefined():String::New(state.name.c_str()), ReadOnly); 903 obj->Set(String::New("comment"), state.index<=-256?Undefined():String::New(state.comment.c_str()), ReadOnly); 904 obj->Set(String::New("server"), String::New(server.c_str()), ReadOnly); 904 905 if (state.index>-256) 905 906 obj->Set(String::New("time"), date);
Note:
See TracChangeset
for help on using the changeset viewer.