summaryrefslogtreecommitdiff
path: root/decoders/nunchuk.py
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2011-01-08 17:00:18 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2011-01-08 17:00:18 +0100
commite6c7a826d9617bafb24ac05e05cd8e1e7ad1f9cc (patch)
treed4e31e4a5395a5cf53d2a30682121aab9fdcb713 /decoders/nunchuk.py
parent70e44845f0138666d78fc2a13acc4e37fc63c4f9 (diff)
downloadlibsigrokdecode-e6c7a826d9617bafb24ac05e05cd8e1e7ad1f9cc.tar.gz
libsigrokdecode-e6c7a826d9617bafb24ac05e05cd8e1e7ad1f9cc.zip
Fix compile for Python >= 3.0.
Python docs tells us more about string functions: "These functions have been renamed to PyBytes_* in Python 3.x. Unless otherwise noted, the PyBytes functions available in 3.x are aliased to their PyString_* equivalents to help porting." (http://docs.python.org/c-api/string.html) Use #defines to map the new names and fix the compile for Python >= 3.0. Thanks Olivier Fauchon <olivier@aixmarseille.com> for the patch.
Diffstat (limited to 'decoders/nunchuk.py')
0 files changed, 0 insertions, 0 deletions