Make v8 shell more quiet.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13820 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
f814a8e702
commit
2092793868
1 changed files with 3 additions and 3 deletions
|
|
@ -181,9 +181,9 @@ bool V8Shell::ExecuteScript(const std::string& source, const std::string& name)
|
||||||
if (!result->IsUndefined()) {
|
if (!result->IsUndefined()) {
|
||||||
// If all went well and the result wasn't undefined then print
|
// If all went well and the result wasn't undefined then print
|
||||||
// the returned value.
|
// the returned value.
|
||||||
v8::String::Utf8Value str(result);
|
//v8::String::Utf8Value str(result);
|
||||||
const char* cstr = V8Shell::ToCString(str);
|
//const char* cstr = V8Shell::ToCString(str);
|
||||||
printf("%s\n", cstr);
|
//printf("%s\n", cstr);
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue