libsigrok/bindings/python
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
..
sigrok bindings/python: Handle import failures without crashing 2015-06-16 13:04:24 +02:00
Doxyfile Makefile.am: Fix out-of-tree build for Python bindings 2014-08-17 16:05:46 +02:00
setup.py cxx: Rename include/libsigrok/ to include/libsigrokcxx/. 2015-01-17 20:26:14 +01:00