Javascript interpreter supports for JSC and V8 simultaneously.

Before, one had to build two different versions.
This commit is contained in:
Oliver Buchtala 2012-11-23 01:09:11 +01:00
commit caa6827daf
5 changed files with 40 additions and 15 deletions

View file

@ -160,6 +160,6 @@ void JSCShell::PrintError(JSContextRef ctx, JSValueRef err, const std::string& n
std::cerr << name << ":" << line << ":" << errMsg << std::endl;
}
JSShell* JSShell::Create() {
JSShell* JSCShell_Create() {
return new JSCShell();
}