Hi, Rudi Schlatte <[EMAIL PROTECTED]> writes:
> On 4. Jul 2006, at 20:34, Frank Buss wrote: >> I've discussed with the author, Rudi Schlatte, and currently they >> are using >> SWIG for creating the initial bindings, but for things like >> defining which >> objects needs to be destroyed, they do it by hand after generating >> it. Maybe >> we can work together to enhance our SWIG definition files with >> annotations >> to generate this automaticly. > > I have not looked at SWIG annotations in detail. Maybe cffi will > have to be adapted as well; e.g. Luis gave me code to implemented a > caller-deallocated foreign string that might not be in cffi yet. I'm > interested in sharing experiences in that area. > SWIG interface files can be annotated to do what is done in section 2.2 (pointer ownership). But I don't get how do you want SWIG to be able to help in auto-deleting objects. Regards. -- Surendra Singhi http://ssinghi.kreeti.com, http://www.kreeti.com ,---- | "All animals are equal, but some animals are more equal than others." | -- Orwell, Animal Farm, 1945 `---- _______________________________________________ application-builder mailing list [email protected] http://www.lispniks.com/mailman/listinfo/application-builder
