libsigrokdecode: Move decoder metadata into Decoder object.
[libsigrokdecode.git] / sigrokdecode.h
index fde9208a5f27120f848a22b947f2b90aa095d95f..9f7925282fd7a92f4e3e0dc80a8b8735ca4ef2d4 100644 (file)
@@ -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;
 };