New PyBindGen version and API rescan: adds missing copy constructors, and generates __copy__ methods so that python's copy.copy() works on our objects.

This commit is contained in:
Gustavo J. A. M. Carneiro
2008-08-19 17:48:09 +01:00
parent 097f338632
commit fd774c3fb6
18 changed files with 211 additions and 1 deletions
+3
View File
@@ -76,6 +76,7 @@ def register_Ns3CsmaDeviceRec_methods(root_module, cls):
cls.add_method('IsActive',
'bool',
[])
cls.add_copy_constructor()
return
def register_Ns3Backoff_methods(root_module, cls):
@@ -109,6 +110,7 @@ def register_Ns3Backoff_methods(root_module, cls):
cls.add_method('IncrNumRetries',
'void',
[])
cls.add_copy_constructor()
return
def register_Ns3CsmaChannel_methods(root_module, cls):
@@ -196,6 +198,7 @@ def register_Ns3CsmaChannel_methods(root_module, cls):
'ns3::Time',
[],
is_virtual=True)
cls.add_copy_constructor()
return
def register_Ns3CsmaNetDevice_methods(root_module, cls):