]> sigrok.org Git - libsigrok.git/blobdiff - bindings/swig/classes.i
bindings: Remove Device::description().
[libsigrok.git] / bindings / swig / classes.i
index 983fcdc242f057d93afd417baf642dc233f9c58f..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,10 @@ 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,
     std::shared_ptr<sigrok::PacketPayload>, payload, payload);