1 Feb 2007 06:08
TCL and automated object freeing
Jacob Bower <jacob.bower <at> gmail.com>
2007-02-01 05:08:21 GMT
2007-02-01 05:08:21 GMT
Hi, Looking at the code generated by swig 1.3 for TCL, it would appear that Tcl_Obj's created with SWIG_Tcl_NewPointerObj() won't be free'd when the refcount of the Tcl_Obj falls to zero. Is this correct? If so, is there a graceful way of automating the freeing of objects passed through SWIG_Tcl_NewPointerObj() when the TCL script no longer has a reference to them (ignoring circular ref's etc.) which doesn't involve having to manually free objects with calls from TCL? Thanks - Jacob ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
RSS Feed