]> sigrok.org Git - libsigrok.git/commit
C++: Use C++98 syntax for default arguments to appease SWIG
authorDaniel Elstner <redacted>
Mon, 26 Oct 2015 04:18:06 +0000 (05:18 +0100)
committerDaniel Elstner <redacted>
Mon, 26 Oct 2015 05:45:56 +0000 (06:45 +0100)
commitbf03d63565f60d758f53ecde0b30631463e44609
tree2716336292bd43c9bc0ad122174732288b28d4c4
parenta98729a742ebbb9df9dbb9ce8aae1cc4c3f1e00d
C++: Use C++98 syntax for default arguments to appease SWIG

Looks like SWIG silently ignores default arguments specified via
aggregate initialization. This is rather unfortunate, especially
if the argument types are complex.
bindings/cxx/include/libsigrokcxx/libsigrokcxx.hpp