summaryrefslogtreecommitdiff
path: root/module_sigrokdecode.c
diff options
context:
space:
mode:
authorBert Vermeulen <bert@biot.com>2012-01-17 03:37:34 +0100
committerBert Vermeulen <bert@biot.com>2012-01-17 03:37:34 +0100
commit0bdadba205a6d7688a2bb8d98ab342abe22acd6e (patch)
treed43f4b90827e99f3d6336952337744f55c351f1d /module_sigrokdecode.c
parent7b14cee1e2b43738a13108180dee73a08cbde87b (diff)
downloadlibsigrokdecode-0bdadba205a6d7688a2bb8d98ab342abe22acd6e.tar.gz
libsigrokdecode-0bdadba205a6d7688a2bb8d98ab342abe22acd6e.zip
SRD: support setting per-PD options
All decoder class options are automatically copied to a newly created instance with their default value, which can be overridden with the GHashTable passed to srd_instance_new(). Currently, only strings and integers are supported as option value types. The type is set by the default value in the decoder class, and enforced when overriding them. Integers can be specified in any format python allows: 10, 0x0a and so on.
Diffstat (limited to 'module_sigrokdecode.c')
0 files changed, 0 insertions, 0 deletions