libsigrok/bindings
Alexandru Gagniuc aae2273b99 bindings/python: Handle import failures without crashing
When the import of gi.repository.GLib failed, we would get a NULL
pointer that we passed along without any checking. In this situation,
the entire program would crash with a segmentation fault, and no
message to indicate the problem.

When the import fails, abort the SWIG init and print a message. The
Python interpreter then prints out a backtrace, which can be useful
in tracking down the problem.
2015-06-16 13:04:24 +02:00
..
cxx C++: Change arguments of Input::send() from std::string to data+length. 2015-04-20 10:12:39 +01:00
java Rename libsigrokxx to the more common libsigrokcxx. 2015-01-17 18:52:43 +01:00
python bindings/python: Handle import failures without crashing 2015-06-16 13:04:24 +02:00
swig cxx: Rename include/libsigrok/ to include/libsigrokcxx/. 2015-01-17 20:26:14 +01:00