]> sigrok.org Git - libsigrok.git/commitdiff
bindings: add u32/SR_T_UINT32 support for config keys
authorMarkus Heidelberg <redacted>
Sun, 11 Dec 2022 00:28:55 +0000 (01:28 +0100)
committerGerhard Sittig <redacted>
Mon, 19 Dec 2022 08:11:36 +0000 (09:11 +0100)
Previous bindings for C++ and other languages lacked support for the
uint32_t data type for config keys. Which terminated the program with
the message:

  Exception: internal error

The following PulseView commands reproduced the issue:

  $ pulseview -i /dev/null -I csv:single_column=1
  $ pulseview -i /dev/null -I csv:first_column=1
  $ pulseview -i /dev/null -I csv:logic_channels=1
  $ pulseview -i /dev/null -I csv:start_line=1

  $ pulseview -i /dev/null -I saleae:wordsize=1
  $ pulseview -i /dev/null -I saleae:logic_channels=1

  $ pulseview -i /dev/null -I vcd:numchannels=1

Add support for uint32_t data types in the C++, Python, and Ruby
language bindings.

[ gsi: separate stou32() helper ]


No differences found