Skip to content

Commit

Permalink
Some fixes and cleanup in Javascript generator.
Browse files Browse the repository at this point in the history
- v8 generator uses the correct mangled name for class templates
- removed symbols for template variables in favor of using the string
  literals directly, as it is easier to understand when debugging.
  • Loading branch information
oliver7654 committed Sep 10, 2013
1 parent 001f38c commit dd84e6f
Show file tree
Hide file tree
Showing 2 changed files with 121 additions and 169 deletions.
2 changes: 1 addition & 1 deletion Lib/javascript/v8/javascriptcode.swg
Expand Up @@ -337,7 +337,7 @@ fail:
$jsmangledname_clientData.class_templ.Reset(v8::Isolate::GetCurrent(), $jsmangledname_class);
#endif
$jsmangledname_clientData.dtor = $jsdtor;
SWIGTYPE$jsmangledtype->clientdata = &$jsmangledname_clientData;
SWIGTYPE_$jsmangledtype->clientdata = &$jsmangledname_clientData;
%}


Expand Down

0 comments on commit dd84e6f

Please sign in to comment.