bindings: add SWIG attribute for Packet::type.
This commit is contained in:
parent
f36f7d0282
commit
f591826cc7
|
@ -257,6 +257,8 @@ typedef std::map<const sigrok::ConfigKey *, Glib::VariantBase>
|
|||
%attributestring(sigrok::Session,
|
||||
std::shared_ptr<sigrok::Trigger>, trigger, trigger, set_trigger);
|
||||
|
||||
%attribute(sigrok::Packet,
|
||||
const sigrok::PacketType *, type, type);
|
||||
%attributestring(sigrok::Packet,
|
||||
std::shared_ptr<sigrok::PacketPayload>, payload, payload);
|
||||
|
||||
|
|
Loading…
Reference in New Issue