Minor fixes in v8 javascript shell.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13794 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Oliver Buchtala 2012-09-08 01:07:21 +00:00
commit 022c274256
2 changed files with 5 additions and 1 deletions

View file

@ -220,3 +220,7 @@ void V8Shell::ReportException(v8::TryCatch* try_catch) {
const char* V8Shell::ToCString(const v8::String::Utf8Value& value) {
return *value ? *value : "<string conversion failed>";
}
JSShell* create_v8_shell() {
return new V8Shell();
}