Some fixes and cleanup in Javascript generator.

- 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.
This commit is contained in:
Oliver Buchtala 2013-09-10 14:16:36 +03:00
commit dd84e6f9e0
2 changed files with 121 additions and 169 deletions

View file

@ -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;
%}