]> sigrok.org Git - libsigrok.git/commit
C++: Declare all callbacks invoked from C noexcept
authorDaniel Elstner <redacted>
Wed, 14 Oct 2015 18:56:51 +0000 (20:56 +0200)
committerDaniel Elstner <redacted>
Mon, 26 Oct 2015 05:45:56 +0000 (06:45 +0100)
commit0ab8e5d22bbb82674a825125c4cb23b8f3b78858
tree323217ded2f94009d03396697d876c767d69ca4f
parent15914cdb0fc6c4c4e0acd410dd58177d0aa17fd2
C++: Declare all callbacks invoked from C noexcept

If one of these functions does throw an exception, std::terminate()
will be called. Without this, the behavior is undefined since the C
stack is not prepared to deal with exceptions.
bindings/cxx/classes.cpp
bindings/cxx/include/libsigrokcxx/libsigrokcxx.hpp