bindings/python/ns3modulegen_core_customizations.py
changeset 3753 a84a48233eb3
parent 3574 b6804efbe16b
child 3770 33b1372d4108
equal deleted inserted replaced
3744:bb6876ea0851 3753:a84a48233eb3
   515                     if param.cpp_class.name == 'AttributeValue' \
   515                     if param.cpp_class.name == 'AttributeValue' \
   516                             and param.default_value is not None \
   516                             and param.default_value is not None \
   517                             and param.default_value_type is None:
   517                             and param.default_value_type is None:
   518                         param.default_value_type = 'ns3::EmptyAttributeValue'
   518                         param.default_value_type = 'ns3::EmptyAttributeValue'
   519 
   519 
       
   520 
       
   521 def TypeId_customizations(module):
       
   522     TypeId = module['ns3::TypeId']
       
   523     TypeId.add_custom_method_wrapper("LookupByNameFailSafe", "_wrap_TypeId_LookupByNameFailSafe",
       
   524                                      flags=["METH_VARARGS", "METH_KEYWORDS", "METH_STATIC"])
       
   525     
       
   526