Mercurial > hg > libxtract
changeset 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 | 86654196fbd9 |
files | swig/xtract.i |
diffstat | 1 files changed, 0 insertions(+), 5 deletions(-) [+] |
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"