Hello, I would like confirmation, or correction, about these following details:
- Memory custom-allocated using ecl_alloc() or ecl_alloc_align() in C-inline code will automatically get garbage collected if no longer referenced - If a finalizer is wanted at GC collect/destruction time, si_set_finalizer() can be called with the cl_object of the foreign pointer and the cl_object of a custom finalizer function which will be called by the GC before such memory is reclaimed - If wanted, ecl_delloc() may be used to haste destruction of an allocated object, and any custom registered finalizer will also automatically/implicitely be called Thanks, -- Matt ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Ecls-list mailing list Ecls-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ecls-list