Python: fix constructor wrapper name for templated ns3::Objects.
authorGustavo J. A. M. Carneiro <gjc@inescporto.pt>
Sun Aug 31 22:33:23 2008 +0100 (17 months ago)
changeset 3592352cfe96e593
parent 3591 2e2ad3734b58
child 3593 b6804efbe16b
Python: fix constructor wrapper name for templated ns3::Objects.
bindings/python/ns3modulegen_core_customizations.py
     1.1 --- a/bindings/python/ns3modulegen_core_customizations.py	Fri Aug 29 20:50:17 2008 -0700
     1.2 +++ b/bindings/python/ns3modulegen_core_customizations.py	Sun Aug 31 22:33:23 2008 +0100
     1.3 @@ -398,7 +398,7 @@
     1.4          else:
     1.5              raise AssertionError
     1.6  
     1.7 -        wrapper_name = "_wrap_create_object_%s" % (cls.full_name.replace(':', '_'),) 
     1.8 +        wrapper_name = "_wrap_create_object_%s" % (cls.mangled_full_name,) 
     1.9          constructor = '''
    1.10  static int %(WRAPPER_NAME)s (%(PYSTRUCT)s *self, PyObject *args, PyObject *kwargs, PyObject **return_exception)
    1.11  {