1.1 --- a/bindings/python/ns3modulegen.py Sat Sep 06 19:24:32 2008 +0100
1.2 +++ b/bindings/python/ns3modulegen.py Mon Sep 08 12:19:46 2008 +0100
1.3 @@ -126,6 +126,15 @@
1.4 except KeyError:
1.5 pass
1.6
1.7 + if 'Threading' not in enabled_features:
1.8 + for clsname in ['SystemThread', 'SystemMutex', 'SystemCondition', 'CriticalSection']:
1.9 + root_module.classes.remove(root_module['ns3::%s' % clsname])
1.10 +
1.11 + if 'RealTime' not in enabled_features:
1.12 + for clsname in ['WallClockSynchronizer', 'RealtimeSimulatorImpl', 'RealtimeEventLock']:
1.13 + root_module.classes.remove(root_module['ns3::%s' % clsname])
1.14 + root_module.enums.remove(root_module['ns3::RealtimeSimulatorImpl::SynchronizationMode'])
1.15 +
1.16 root_module.generate(out, '_ns3')
1.17
1.18 out.close()