diff options
author | Bert Vermeulen <bert@biot.com> | 2012-01-17 03:37:34 +0100 |
---|---|---|
committer | Bert Vermeulen <bert@biot.com> | 2012-01-17 03:37:34 +0100 |
commit | 0bdadba205a6d7688a2bb8d98ab342abe22acd6e (patch) | |
tree | d43f4b90827e99f3d6336952337744f55c351f1d /util.c | |
parent | 7b14cee1e2b43738a13108180dee73a08cbde87b (diff) | |
download | libsigrokdecode-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 'util.c')
0 files changed, 0 insertions, 0 deletions