v8: variable name bug fix in my template modifications for pointers to structs.
This commit is contained in:
parent
f8feeacb68
commit
65a0be8876
1 changed files with 1 additions and 1 deletions
|
|
@ -133,7 +133,7 @@ void $jswrapper(v8::Persistent< v8::Value > object, void *parameter) {
|
||||||
SWIGV8_Proxy* proxy = (SWIGV8_Proxy*) parameter;
|
SWIGV8_Proxy* proxy = (SWIGV8_Proxy*) parameter;
|
||||||
if(proxy->swigCMemOwn && proxy->swigCObject) {
|
if(proxy->swigCMemOwn && proxy->swigCObject) {
|
||||||
// std::cout << "Deleting wrapped instance: " << proxy->info->name << std::endl;
|
// std::cout << "Deleting wrapped instance: " << proxy->info->name << std::endl;
|
||||||
$jstype arg1 = ($jstype)t->swigCObject;
|
$jstype arg1 = ($jstype)proxy->swigCObject;
|
||||||
${destructor_action}
|
${destructor_action}
|
||||||
}
|
}
|
||||||
delete proxy;
|
delete proxy;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue