bindings/python/ns3modulescan.py
changeset 4086 37dbf76b4c66
parent 3929 909b0a724ed3
child 4749 af227579ab64
equal deleted inserted replaced
4085:31945ecb17e2 4086:37dbf76b4c66
   148     if isinstance(pygccxml_definition, member_function_t) \
   148     if isinstance(pygccxml_definition, member_function_t) \
   149             and pygccxml_definition.parent.name == 'Simulator' \
   149             and pygccxml_definition.parent.name == 'Simulator' \
   150             and pygccxml_definition.name.startswith('Schedule'):
   150             and pygccxml_definition.name.startswith('Schedule'):
   151         global_annotations['ignore'] = None
   151         global_annotations['ignore'] = None
   152 
   152 
   153     # unblock python threads for Simulator::Run
   153     # manually wrapped
   154     if isinstance(pygccxml_definition, member_function_t) \
   154     if isinstance(pygccxml_definition, member_function_t) \
   155             and pygccxml_definition.parent.name == 'Simulator' \
   155             and pygccxml_definition.parent.name == 'Simulator' \
   156             and pygccxml_definition.name == 'Run':
   156             and pygccxml_definition.name == 'Run':
   157         global_annotations['unblock_threads'] = True
   157         global_annotations['ignore'] = True
   158 
   158 
   159 
   159 
   160     ## classes
   160     ## classes
   161     if isinstance(pygccxml_definition, class_t):
   161     if isinstance(pygccxml_definition, class_t):
   162         # no need for helper classes to allow subclassing in Python, I think...
   162         # no need for helper classes to allow subclassing in Python, I think...