bindings/python/ns3_module_wifi.py
changeset 4449 c11b6d768ab3
parent 4422 f5ef533e56e4
child 4454 f2af91ee09e7
--- a/bindings/python/ns3_module_wifi.py	Tue May 19 15:34:20 2009 +0200
+++ b/bindings/python/ns3_module_wifi.py	Tue May 19 15:35:05 2009 +0200
@@ -1,4 +1,4 @@
-from pybindgen import Module, FileCodeSink, param, retval, cppclass
+from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers
 
 def register_types(module):
     root_module = module.get_root()
@@ -135,6 +135,7 @@
     module.add_class('YansWifiChannel', parent=root_module['ns3::WifiChannel'])
     ## aarf-wifi-manager.h: ns3::AarfWifiManager [class]
     module.add_class('AarfWifiManager', parent=root_module['ns3::ArfWifiManager'])
+    typehandlers.add_type_alias('std::vector< ns3::ThresholdsItem, std::allocator< ns3::ThresholdsItem > >', 'ns3::Thresholds')
     
     ## Register a nested module for the namespace Config