From: Daniel Elstner Date: Wed, 14 Oct 2015 18:56:51 +0000 (+0200) Subject: C++: Declare all callbacks invoked from C noexcept X-Git-Tag: libsigrok-0.4.0~176 X-Git-Url: https://sigrok.org/gitweb/?a=commitdiff_plain;h=0ab8e5d22bbb82674a825125c4cb23b8f3b78858;hp=0ab8e5d22bbb82674a825125c4cb23b8f3b78858;p=libsigrok.git 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. ---