diff options
author | Gerhard Sittig <gerhard.sittig@gmx.net> | 2020-02-22 10:16:16 +0100 |
---|---|---|
committer | Gerhard Sittig <gerhard.sittig@gmx.net> | 2020-07-18 15:33:23 +0200 |
commit | 31b646e2ba4c767f14e4be764f0c7f42f2b49a51 (patch) | |
tree | c79877a92808eb40b98630c340e31ce512bc80b5 /decoders/ook_vis/__init__.py | |
parent | dfbd1652942100c7bf966de1e869a941d4484116 (diff) | |
download | libsigrokdecode-31b646e2ba4c767f14e4be764f0c7f42f2b49a51.tar.gz libsigrokdecode-31b646e2ba4c767f14e4be764f0c7f42f2b49a51.zip |
irmp: rework the Python language binding for the shared library
Rename the Python language binding's source file and identifiers to
eliminate camel case (most of it, stick with camel case in Python class
names as is the convention). Adjust whitespace and arrange tables such
that their indentation will last during maintenance.
Re-add the license text which was missing in the original submission's
copy of another decoder. Add copyright information for this submission.
Don't "import *" from ctypes(3), use explicit references instead. Avoid
double underscores as single leading underscore is already bad enough.
Adjust the Python side to the C library's renamed API routines.
Create a result data structure layout that only has a single level of
nesting, which better represents the C library's interface. Only flags
"get unfolded" in the Python binding, to eliminate magic numbers.
Prepare to support more platforms than Linux (detected) and Windows (the
default when nothing else got detected).
Diffstat (limited to 'decoders/ook_vis/__init__.py')
0 files changed, 0 insertions, 0 deletions