Ignore:
Timestamp:
09/21/04 13:45:44 (17 years ago)
Author:
Daniel Lawson <dlawson@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
6f34090
Parents:
2980487
Message:

poink

File:
1 edited

Legend:

Unmodified
Added
Removed
  • swig/python/libtrace.py

    r2980487 r77ba31d  
    295295    def __repr__(self):
    296296        return "<C libtrace_packet_t instance at %s>" % (self.this,)
     297    __swig_setmethods__["trace"] = _libtrace.Packet_trace_set
     298    __swig_getmethods__["trace"] = _libtrace.Packet_trace_get
     299    if _newclass:trace = property(_libtrace.Packet_trace_get, _libtrace.Packet_trace_set)
     300    __swig_setmethods__["buffer"] = _libtrace.Packet_buffer_set
     301    __swig_getmethods__["buffer"] = _libtrace.Packet_buffer_get
     302    if _newclass:buffer = property(_libtrace.Packet_buffer_get, _libtrace.Packet_buffer_set)
     303    __swig_setmethods__["size"] = _libtrace.Packet_size_set
     304    __swig_getmethods__["size"] = _libtrace.Packet_size_get
     305    if _newclass:size = property(_libtrace.Packet_size_get, _libtrace.Packet_size_set)
     306    __swig_setmethods__["status"] = _libtrace.Packet_status_set
     307    __swig_getmethods__["status"] = _libtrace.Packet_status_get
     308    if _newclass:status = property(_libtrace.Packet_status_get, _libtrace.Packet_status_set)
    297309    def __init__(self, *args):
    298310        _swig_setattr(self, Packet, 'this', _libtrace.new_Packet(*args))
Note: See TracChangeset for help on using the changeset viewer.