Bugfix for Javascript generator.
This commit is contained in:
parent
147cec70f1
commit
0528fd3ac3
2 changed files with 12 additions and 3 deletions
|
|
@ -337,7 +337,9 @@ fail:
|
|||
$jsmangledname_clientData.class_templ.Reset(v8::Isolate::GetCurrent(), $jsmangledname_class);
|
||||
#endif
|
||||
$jsmangledname_clientData.dtor = $jsdtor;
|
||||
SWIGTYPE_$jsmangledtype->clientdata = &$jsmangledname_clientData;
|
||||
if (SWIGTYPE_$jsmangledtype->clientdata == 0) {
|
||||
SWIGTYPE_$jsmangledtype->clientdata = &$jsmangledname_clientData;
|
||||
}
|
||||
%}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue