From: Marc Schink Date: Fri, 29 Mar 2024 14:11:08 +0000 (+0100) Subject: bindings/swig: Make Device::connection_id() an attribute X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=14a1e0bf1ae2d6315e2de08bf71167f5401a3385;p=libsigrok.git bindings/swig: Make Device::connection_id() an attribute Signed-off-by: Marc Schink --- diff --git a/bindings/swig/classes.i b/bindings/swig/classes.i index 71f1d8c3..2503c330 100644 --- a/bindings/swig/classes.i +++ b/bindings/swig/classes.i @@ -153,6 +153,7 @@ typedef std::map %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 >,