summaryrefslogtreecommitdiff
path: root/sigrokdecode.h
diff options
context:
space:
mode:
authorGareth McMullin <gareth@blacksphere.co.nz>2011-11-15 18:47:15 +1300
committerGareth McMullin <gareth@blacksphere.co.nz>2011-11-20 16:31:48 +1300
commit052f32eee3b5e2f850f529c003bc90ef0bb88cc9 (patch)
tree54952ffd6a72b57c23af9a3b30672d3385ccd9c3 /sigrokdecode.h
parent3b24e3781a0374ce2d66f1d3de59a5a5d10d657a (diff)
downloadlibsigrokdecode-052f32eee3b5e2f850f529c003bc90ef0bb88cc9.tar.gz
libsigrokdecode-052f32eee3b5e2f850f529c003bc90ef0bb88cc9.zip
Simplified code for calling Python decode method.
Diffstat (limited to 'sigrokdecode.h')
-rw-r--r--sigrokdecode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sigrokdecode.h b/sigrokdecode.h
index c455acf..fde9208 100644
--- a/sigrokdecode.h
+++ b/sigrokdecode.h
@@ -92,7 +92,7 @@ struct srd_decoder {
PyObject *py_mod;
/** Python function that performs the decoding */
- PyObject *py_decodefunc;
+ PyObject *py_instance;
};
int srd_init(void);