summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2014-05-03 23:45:55 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2014-05-03 23:45:55 +0200
commit17475b09ef9504f91a28b0873b53cec329513077 (patch)
treecd2bf41418e76791c75eac4101df7fe240cdd89b
parente9c1a90c311a65e5b1576a63078d854771a9c83b (diff)
downloadlibsigrokdecode-17475b09ef9504f91a28b0873b53cec329513077.tar.gz
libsigrokdecode-17475b09ef9504f91a28b0873b53cec329513077.zip
Make the srd_Decoder type private.
It's not public API and is not used (nor should it be used) by any frontends.
-rw-r--r--libsigrokdecode.h4
-rw-r--r--type_decoder.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/libsigrokdecode.h b/libsigrokdecode.h
index db06d43..f043036 100644
--- a/libsigrokdecode.h
+++ b/libsigrokdecode.h
@@ -271,10 +271,6 @@ struct srd_pd_callback {
typedef struct {
PyObject_HEAD
-} srd_Decoder;
-
-typedef struct {
- PyObject_HEAD
struct srd_decoder_inst *di;
uint64_t start_samplenum;
unsigned int itercnt;
diff --git a/type_decoder.c b/type_decoder.c
index f64f849..11c8ec0 100644
--- a/type_decoder.c
+++ b/type_decoder.c
@@ -22,6 +22,10 @@
#include "config.h"
#include <inttypes.h>
+typedef struct {
+ PyObject_HEAD
+} srd_Decoder;
+
/* This is only used for nicer srd_dbg() output. */
static const char *OUTPUT_TYPES[] = {
"OUTPUT_ANN",