diff options
| author | Tej Chajed <tchajed+github@gmail.com> | 2012-12-02 13:51:23 -0600 |
|---|---|---|
| committer | Tej Chajed <tchajed+github@gmail.com> | 2012-12-02 13:51:23 -0600 |
| commit | 577bf11644f47f68072f05b32a1e8164e0de306a (patch) | |
| tree | 1fa86a79b36105ae0e8a868b73b7fbf2e83fca2b | |
| parent | c50970ab4f554016670f411460ebfb22eddb32b4 (diff) | |
| download | LibXtract-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
| -rw-r--r-- | swig/xtract.i | 5 |
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" |