summaryrefslogtreecommitdiff
path: root/sigrokdecode.h
diff options
context:
space:
mode:
authorGareth McMullin <gareth@blacksphere.co.nz>2011-11-20 13:07:44 +1300
committerGareth McMullin <gareth@blacksphere.co.nz>2011-11-20 16:31:48 +1300
commit6eb875784c96db52e962f40df24035c31c5be738 (patch)
treea8153f17727b8f71dca3b07df1af990e67f63a7a /sigrokdecode.h
parent052f32eee3b5e2f850f529c003bc90ef0bb88cc9 (diff)
downloadlibsigrokdecode-6eb875784c96db52e962f40df24035c31c5be738.tar.gz
libsigrokdecode-6eb875784c96db52e962f40df24035c31c5be738.zip
libsigrokdecode: Move decoder metadata into Decoder object.
Diffstat (limited to 'sigrokdecode.h')
-rw-r--r--sigrokdecode.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sigrokdecode.h b/sigrokdecode.h
index fde9208..9f79252 100644
--- a/sigrokdecode.h
+++ b/sigrokdecode.h
@@ -91,7 +91,8 @@ struct srd_decoder {
/** TODO */
PyObject *py_mod;
- /** Python function that performs the decoding */
+ /** Python object that performs the decoding */
+ PyObject *py_decobj;
PyObject *py_instance;
};