Commit Graph

115 Commits

Author SHA1 Message Date
Martin Ling d8f6e041aa python: Add high level API. 2013-04-17 14:30:31 +01:00
Martin Ling a8d162f6d3 swig: Wrap additional GVariant operations. 2013-04-17 14:03:38 +01:00
Martin Ling cccb599147 python: Release GIL during libsigrok calls. 2013-04-17 14:01:19 +01:00
Martin Ling a25932e08c python: Adding callback can fail, and refcount must be incremented. 2013-04-17 13:59:30 +01:00
Martin Ling 0220626994 python: use setuptools and put bindings into sigrok.core.lowlevel. 2013-04-17 03:50:27 +01:00
Uwe Hermann 9bb2f327a9 Python bindings: Small fix for Python 3 support. 2013-04-16 22:35:17 +02:00
Martin Ling 22f8cb54d1 swig: wrap g_variant_new_uint64. 2013-04-16 12:07:54 +02:00
Martin Ling d962ed92a1 swig: include cdata interface. 2013-04-16 12:07:54 +02:00
Martin Ling 966fcbe3e3 swig: add function to cast from void * to struct sr_datafeed_logic * 2013-04-16 12:07:54 +02:00
Martin Ling 0849c7d310 python: support datafeed callbacks implemented in python. 2013-04-16 12:07:54 +02:00
Martin Ling ab0340c804 swig: use standard wrappers for integer types. 2013-04-16 12:07:54 +02:00
Uwe Hermann f02121f8d2 Python bindings: Fix reported libsigrok version.
Use 'pkg-config --modversion libsigrok' to get the libsigrok package
version. 'pkg-config --version libsigrok' ignores the argument and just
reports the version of pkg-config itself.
2013-04-16 00:58:29 +02:00
Uwe Hermann 8dc93c841f Python bindings: Cosmetics. 2013-04-16 00:57:25 +02:00
Martin Ling 7aafb89274 Tell SWIG that gpointer is really void *. 2013-04-16 00:41:11 +02:00
Martin Ling 758b01adcb Add SWIG interface file and build script for Python bindings. 2013-04-16 00:41:11 +02:00