]> sigrok.org Git - libsigrok.git/blobdiff - bindings/swig/classes.i
bindings: Add Device::get_description() method.
[libsigrok.git] / bindings / swig / classes.i
index 7c6b60c6e69bcfc152df6a3323dc92d9c48c72ea..253ce01b4b770dcaee17fbcbb6a7fbaebe41b850 100644 (file)
@@ -180,6 +180,7 @@ typedef std::map<const sigrok::ConfigKey *, Glib::VariantBase>
 %attributestring(sigrok::OutputFormat,
     std::string, description, get_description);
 
+%attributestring(sigrok::Device, std::string, description, get_description);
 %attributestring(sigrok::Device, std::string, vendor, get_vendor);
 %attributestring(sigrok::Device, std::string, model, get_model);
 %attributestring(sigrok::Device, std::string, version, get_version);