Minor improvements in v8 emitter implementation

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13746 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Oliver Buchtala 2012-09-08 00:48:11 +00:00
commit 6c90d1eb6d
3 changed files with 64 additions and 33 deletions

View file

@ -72,3 +72,7 @@ v8::Handle<v8::Value> ${NAME_MANGLED}(const Arguments &args) {
return scope.Close(ret);
}
%}
%fragment("v8_register_member_function", "templates") %{
SWIGV8_AddClassMethod(SWIGV8_${CLASSNAME_MANGLED}, "${NAME_UNQUALIFIED}", ${WRAPPER});
%}