v8: variable name bug fix in my template modifications for pointers to structs.

This commit is contained in:
Eric Wing 2013-07-11 20:04:01 -07:00 committed by Oliver Buchtala
commit 65a0be8876

View file

@ -133,7 +133,7 @@ void $jswrapper(v8::Persistent< v8::Value > object, void *parameter) {
SWIGV8_Proxy* proxy = (SWIGV8_Proxy*) parameter;
if(proxy->swigCMemOwn && proxy->swigCObject) {
// std::cout << "Deleting wrapped instance: " << proxy->info->name << std::endl;
$jstype arg1 = ($jstype)t->swigCObject;
$jstype arg1 = ($jstype)proxy->swigCObject;
${destructor_action}
}
delete proxy;