]> sigrok.org Git - libsigrok.git/blobdiff - bindings/swig/classes.i
bindings: Add Session::filename() and corresponding SWIG attribute.
[libsigrok.git] / bindings / swig / classes.i
index f4ee3ec4ab4f1a6029bee3ca65af6ee15b820625..b688a857494fdb0a4b273b60b6db0720188eadc6 100644 (file)
@@ -257,6 +257,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,