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