Enhance python wrapper
authorMichel Zou <xantares09@hotmail.com>
Mon, 17 Oct 2011 16:10:09 +0000 (18:10 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Mon, 17 Oct 2011 16:11:31 +0000 (18:11 +0200)
commit4c5afeb9e12c71d51950d597c8fe70d5aeb6245e
tree04a5d65c08e6e8f03cdf7c607a5b0ffea235e413
parente93b34879c5abefc8aab1c4bf020a01c9b75b21f
Enhance 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 (examples/python/complete.py)
- 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
bindings/ftdi.i
examples/python/complete.py [new file with mode: 0644]
examples/python/simple.py