]> sigrok.org Git - libsigrok.git/commit
C++: Make some methods static to match the C API
authorDaniel Elstner <redacted>
Sun, 11 Oct 2015 10:35:01 +0000 (12:35 +0200)
committerDaniel Elstner <redacted>
Mon, 26 Oct 2015 05:45:56 +0000 (06:45 +0100)
commita73d49263611b0d65a3ca1ad85bbee592cf1a234
treec6f75231bc2ee9b8fb4e301ea6e11329ef3798bc
parent0ab8e5d22bbb82674a825125c4cb23b8f3b78858
C++: Make some methods static to match the C API

Context::package_version() and Context::lib_version() do not access
context state and should be static. However, leave the logging
related methods alone for now, as making them static would entail
making the callback data a global static, since the C API lacks
destroy notification callbacks.
bindings/cxx/include/libsigrokcxx/libsigrokcxx.hpp