bindings/python/ns3modulegen_core_customizations.py
changeset 3753 a84a48233eb3
parent 3574 b6804efbe16b
child 3770 33b1372d4108
--- a/bindings/python/ns3modulegen_core_customizations.py	Wed Oct 15 09:49:39 2008 +0200
+++ b/bindings/python/ns3modulegen_core_customizations.py	Wed Oct 15 15:55:09 2008 +0100
@@ -517,3 +517,10 @@
                             and param.default_value_type is None:
                         param.default_value_type = 'ns3::EmptyAttributeValue'
 
+
+def TypeId_customizations(module):
+    TypeId = module['ns3::TypeId']
+    TypeId.add_custom_method_wrapper("LookupByNameFailSafe", "_wrap_TypeId_LookupByNameFailSafe",
+                                     flags=["METH_VARARGS", "METH_KEYWORDS", "METH_STATIC"])
+    
+