bindings: add SWIG attribute for Packet::type.

This commit is contained in:
Martin Ling 2014-10-10 19:37:47 +01:00 committed by Bert Vermeulen
parent f36f7d0282
commit f591826cc7
1 changed files with 2 additions and 0 deletions

View 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);
%attribute(sigrok::Packet,
const sigrok::PacketType *, type, type);
%attributestring(sigrok::Packet,
std::shared_ptr<sigrok::PacketPayload>, payload, payload);