]> sigrok.org Git - libsigrokdecode.git/commitdiff
Make the srd_Decoder type private.
authorUwe Hermann <redacted>
Sat, 3 May 2014 21:45:55 +0000 (23:45 +0200)
committerUwe Hermann <redacted>
Sat, 3 May 2014 21:45:55 +0000 (23:45 +0200)
It's not public API and is not used (nor should it be used) by any frontends.

libsigrokdecode.h
type_decoder.c

index db06d43dcdccc1ade489ee19473c6a49ea046f04..f043036e1809452703c45b9bbea664a1a2ff105d 100644 (file)
@@ -269,10 +269,6 @@ struct srd_pd_callback {
 
 /* Custom Python types: */
 
-typedef struct {
-       PyObject_HEAD
-} srd_Decoder;
-
 typedef struct {
        PyObject_HEAD
        struct srd_decoder_inst *di;
index f64f849e9eee9fd51ff5694e7d3c6b61bc0fa53e..11c8ec0640e1996b16f352e30743f8214426947f 100644 (file)
 #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",