Hi Michel,
On Thursday, 13. October 2011 22:52:23 xantares 09 wrote:
> I tried to enhance the python wrapper:
> - updated functions prototypes in regard to the lib
> - made OUTPUT* typemaps active as they were misplaced regarding headers
> order - allowed use of ftdi_usb_get_strings
> - added an advanced example script
> - stripped the 'ftdi_' suffix to avoid to write
> "ftdi.ftdi_usb_open(...)"; it becomes just "ftdi.usb_open(...)" -
> removed useless pointer functions since valid OUTPUT typemaps are there
> - some cleanup
Thanks, applied! It's good you know your way around the swig stuff.
One small question: Is it possible to tell the swig wrapper
to use ftdi_new() to allocate the internal ftdi_context structure?
Could we also make it call ftdi_deinit() on object destruction
automatically? Calling it twice is safe.
Cheers,
Thomas
--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|