]> sigrok.org Git - libsigrok.git/commitdiff
bindings/swig: Make Device::connection_id() an attribute
authorMarc Schink <redacted>
Fri, 29 Mar 2024 14:11:08 +0000 (15:11 +0100)
committerSoeren Apel <redacted>
Mon, 19 Aug 2024 13:55:09 +0000 (15:55 +0200)
Signed-off-by: Marc Schink <redacted>
bindings/swig/classes.i

index 71f1d8c342b1d66507cbd1c9eb5cb1f2dc0393f0..2503c330e2d0ad5f7f9e5370d90a503f6bb1b597 100644 (file)
@@ -153,6 +153,7 @@ typedef std::map<const sigrok::ConfigKey *, Glib::VariantBase>
 %attributestring(sigrok::Device, std::string, model, model);
 %attributestring(sigrok::Device, std::string, version, version);
 %attributestring(sigrok::Device, std::string, serial_number, serial_number);
+%attributestring(sigrok::Device, std::string, connection_id, connection_id);
 
 %attributevector(Device,
     std::vector<std::shared_ptr<sigrok::Channel> >,