bindings/python/ns3_module_common.py
changeset 3416 926ccb845111
parent 3408 2cc40b3e4fa5
child 3457 2ff6f05b9467
--- a/bindings/python/ns3_module_common.py	Fri Jul 11 18:15:52 2008 +0100
+++ b/bindings/python/ns3_module_common.py	Fri Jul 11 18:39:19 2008 +0100
@@ -369,6 +369,8 @@
     cls.add_method('CalculateIpChecksum', 'uint16_t', [param('uint16_t', 'size')])
     ## buffer.h: uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size, uint32_t initialChecksum) [member function]
     cls.add_method('CalculateIpChecksum', 'uint16_t', [param('uint16_t', 'size'), param('uint32_t', 'initialChecksum')])
+    ## buffer.h: uint32_t ns3::Buffer::Iterator::GetSize() const [member function]
+    cls.add_method('GetSize', 'uint32_t', [], is_const=True)
     return
 
 def register_Ns3Chunk_methods(root_module, cls):