Daniel Elstner
bc81463bb8
enums.py: Place swig/enums.i into build directory
2015-08-16 18:28:13 +02:00
Soeren Apel
3cd4b38174
Introduce OutputFlag
2015-08-15 23:53:12 +02:00
Uwe Hermann
dc7125bb7c
cxx: Fix a linking issue.
...
Fix "undefined reference to `sigrok::EnumValue<sigrok::LogLevel,
sr_loglevel>::_values'", which happens at least when using clang(++),
e.g. on Linux, Mac OS X, or FreeBSD.
This fixes bug #534 .
Thanks to Uffe Jakobsen and Martin Ling for reporting and investigating!
2015-01-26 15:31:27 +01:00
Uwe Hermann
161dc24d84
cxx: Rename include/libsigrok/ to include/libsigrokcxx/.
2015-01-17 20:26:14 +01:00
Uwe Hermann
b8721d7cf0
bindings: Fix out-of-tree build.
...
This closes #473 .
2014-11-14 20:01:12 +01:00
Martin Ling
d2a929ab85
bindings: Fix enums.py compatibility with Python 3.
2014-11-13 20:38:56 +00:00
Martin Ling
7a36ceacb9
bindings: Support per-language extensions to EnumValue wrappers.
2014-11-12 02:27:05 +01:00
Martin Ling
e480df0c45
bindings: Expose ConfigKey::identifier as an attribute.
2014-11-12 02:27:04 +01:00
Martin Ling
189461b251
bindings: Expose EnumValue::id and EnumValue::name as attributes.
2014-11-12 02:27:04 +01:00
Martin Ling
fe4096fde6
bindings: Wrap EnumValue base class.
2014-11-12 02:27:04 +01:00
Martin Ling
9d229ecb9e
cxx: Implement more of EnumValue in template.
2014-11-12 02:27:04 +01:00
Jens Steinhauser
174bf146e5
bindings: Better error handling in enumeration get() function.
...
Prior to this patch a call to get() with an invalid enumeration value
would raise an exception that would, for example, terminate the python
interpreter, whereas now the exception is handled and translated into a
proper python exception.
2014-10-07 15:15:17 +02:00
Martin Ling
3b16108573
bindings: Remove 'get_' prefix from all accessors.
2014-09-11 21:27:32 +01:00
Marcus Comstedt
33c84e8197
Makefile.am: Fix out-of-tree build for C++ and Java bindings
2014-08-17 12:58:39 +02:00
Martin Ling
84c870852a
C++ bindings: Attach documentation to enum wrapper classes.
2014-08-10 15:47:13 +02:00
Martin Ling
3532ed0125
C++ bindings: Reimplement enums.py using doxygen XML output instead of gccxml.
2014-08-10 15:47:13 +02:00
Jens Steinhauser
c6036f755a
C++ bindings: Make enums.py work with newer versions of pygccxml.
2014-07-22 21:06:16 +02:00
Bert Vermeulen
6884b52bde
bindings: Filter out various pygccxml noise.
2014-07-19 19:48:01 +02:00
Martin Ling
c23c8659b8
Add C++ bindings.
2014-07-18 20:47:10 +01:00