bindings/python/ns3_module_common.py
changeset 3773 dab0c18b39a0
parent 3755 c73866625b44
child 3855 7fdcbeea6c4f
--- a/bindings/python/ns3_module_common.py	Thu Oct 23 10:48:42 2008 -0700
+++ b/bindings/python/ns3_module_common.py	Thu Oct 23 10:57:26 2008 -0700
@@ -405,6 +405,11 @@
                    'ns3::Ptr< ns3::Packet >', 
                    [], 
                    is_const=True)
+    ## packet.h: uint32_t ns3::Packet::CopyData(uint8_t * buffer, uint32_t size) const [member function]
+    cls.add_method('CopyData', 
+                   'uint32_t', 
+                   [param('uint8_t *', 'buffer'), param('uint32_t', 'size')], 
+                   is_const=True)
     ## packet.h: ns3::Ptr<ns3::Packet> ns3::Packet::CreateFragment(uint32_t start, uint32_t length) const [member function]
     cls.add_method('CreateFragment', 
                    'ns3::Ptr< ns3::Packet >',