bindings/python/ns3modulegen_core_customizations.py
changeset 3770 33b1372d4108
parent 3753 a84a48233eb3
child 3929 909b0a724ed3
--- a/bindings/python/ns3modulegen_core_customizations.py	Mon Oct 20 13:31:25 2008 +0200
+++ b/bindings/python/ns3modulegen_core_customizations.py	Mon Oct 20 16:56:40 2008 +0100
@@ -424,6 +424,7 @@
         return -1;
     }
     %(CONSTRUCT_CODE)s
+    PyNs3ObjectBase_wrapper_registry[(void *) self->obj] = (PyObject *) self;
     return 0;
 }
 ''' % dict(WRAPPER_NAME=wrapper_name, PYSTRUCT=cls.pystruct, CLASS_NAME=cls.full_name,