From 577bf11644f47f68072f05b32a1e8164e0de306a Mon Sep 17 00:00:00 2001 From: Tej Chajed Date: Sun, 2 Dec 2012 13:51:23 -0600 Subject: removing unneeded %newobject decl newobject is only for management of a returned object -- it cannot handle nested structures that need complicated teardown --- swig/xtract.i | 5 ----- 1 file changed, 5 deletions(-) (limited to 'swig/xtract.i') diff --git a/swig/xtract.i b/swig/xtract.i index c4a6b95..9a05429 100644 --- a/swig/xtract.i +++ b/swig/xtract.i @@ -11,11 +11,6 @@ #include "xtract/libxtract.h" %} -/* Ensure filterbank gets freed */ -/** FIX: This doesn't work, or I'm not using properly. For now just add an explicit call to destroy_filterbank() in the target code */ -%newobject create_filterbank; -%delobject destroy_filterbank; - /* %typemap(javabase) SWIGTYPE, SWIGTYPE *, SWIGTYPE &, SWIGTYPE [], SWIGTYPE (CLASS::*) "SWIG" -- cgit v1.2.3