aboutsummaryrefslogtreecommitdiff
path: root/swig
diff options
context:
space:
mode:
authorTej Chajed <tchajed+github@gmail.com>2012-12-02 13:51:23 -0600
committerTej Chajed <tchajed+github@gmail.com>2012-12-02 13:51:23 -0600
commit577bf11644f47f68072f05b32a1e8164e0de306a (patch)
tree1fa86a79b36105ae0e8a868b73b7fbf2e83fca2b /swig
parentc50970ab4f554016670f411460ebfb22eddb32b4 (diff)
downloadLibXtract-577bf11644f47f68072f05b32a1e8164e0de306a.tar.gz
LibXtract-577bf11644f47f68072f05b32a1e8164e0de306a.tar.bz2
LibXtract-577bf11644f47f68072f05b32a1e8164e0de306a.zip
removing unneeded %newobject decl
newobject is only for management of a returned object -- it cannot handle nested structures that need complicated teardown
Diffstat (limited to 'swig')
-rw-r--r--swig/xtract.i5
1 files changed, 0 insertions, 5 deletions
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"