diff swig/xtract.i @ 138:cfb8a5f6ea06

removing unneeded %newobject decl newobject is only for management of a returned object -- it cannot handle nested structures that need complicated teardown
author Tej Chajed <tchajed+github@gmail.com>
date Sun, 02 Dec 2012 13:51:23 -0600
parents b1c5efe11560
children 7fbca00c2c05
line wrap: on
line diff
--- a/swig/xtract.i	Sun Dec 02 13:50:46 2012 -0600
+++ b/swig/xtract.i	Sun Dec 02 13:51:23 2012 -0600
@@ -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"