Add missing return statement in v8 code template.

This commit is contained in:
Oliver Buchtala 2013-01-25 17:03:23 +01:00
commit 31feff8586

View file

@ -57,7 +57,7 @@ v8::Handle<v8::Value> $jswrapper(const v8::Arguments& args) {
SWIG_exception_fail(SWIG_ERROR, "Illegal arguments for contruction of $jsmangledname");
fail:
scope.Close(v8::Undefined());
return scope.Close(v8::Undefined());
}
%}