]> sigrok.org Git - libsigrok.git/blobdiff - bindings/swig/classes.i
bindings: Remove Device::description().
[libsigrok.git] / bindings / swig / classes.i
index f4ee3ec4ab4f1a6029bee3ca65af6ee15b820625..ce96c9d9e2af2af0a2f35d7808e59d875f26e4a6 100644 (file)
@@ -208,7 +208,6 @@ typedef std::map<const sigrok::ConfigKey *, Glib::VariantBase>
 %attributeval(sigrok::OutputFormat,
     map_string_Option, options, options);
 
-%attributestring(sigrok::Device, std::string, description, description);
 %attributestring(sigrok::Device, std::string, vendor, vendor);
 %attributestring(sigrok::Device, std::string, model, model);
 %attributestring(sigrok::Device, std::string, version, version);
@@ -257,6 +256,8 @@ typedef std::map<const sigrok::ConfigKey *, Glib::VariantBase>
 %attributestring(sigrok::Session,
     std::shared_ptr<sigrok::Trigger>, trigger, trigger, set_trigger);
 
+%attributestring(sigrok::Session, std::string, filename, filename);
+
 %attribute(sigrok::Packet,
     const sigrok::PacketType *, type, type);
 %attributestring(sigrok::Packet,