]> sigrok.org Git - libsigrok.git/commit
C++: Avoid const ref args to appease Java bindings
authorDaniel Elstner <redacted>
Mon, 26 Oct 2015 06:04:10 +0000 (07:04 +0100)
committerDaniel Elstner <redacted>
Mon, 26 Oct 2015 06:04:10 +0000 (07:04 +0100)
commit9e7176bd00016554a15b2687939d6e7b8536b2eb
treef275cb2e64ffd3bc78b04016ee7207d70500832a
parentbf03d63565f60d758f53ecde0b30631463e44609
C++: Avoid const ref args to appease Java bindings

The Java bindings currently have some weird problem with function
arguments passed by const reference. Not all types are affected,
but the collection types that involve custom typemaps are.

For now, revert back to pass-by-value for the problematic types.
bindings/cxx/classes.cpp
bindings/cxx/include/libsigrokcxx/libsigrokcxx.hpp