rescan python bindings

This commit is contained in:
Tom Henderson
2009-05-21 06:04:40 -07:00
parent 4159520b4b
commit 9cdc0cfd71
22 changed files with 26 additions and 42 deletions

View File

@@ -1,4 +1,4 @@
from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers
from pybindgen import Module, FileCodeSink, param, retval, cppclass
def register_types(module):
root_module = module.get_root()
@@ -25,8 +25,6 @@ def register_types(module):
module.add_class('CounterCalculator', template_parameters=['unsigned int'], parent=root_module['ns3::DataCalculator'])
## packet-data-calculators.h: ns3::PacketCounterCalculator [class]
module.add_class('PacketCounterCalculator', parent=root_module['ns3::CounterCalculator< unsigned int >'])
typehandlers.add_type_alias('std::list< ns3::Ptr< ns3::DataCalculator >, std::allocator< ns3::Ptr< ns3::DataCalculator > > >', 'ns3::DataCalculatorList')
typehandlers.add_type_alias('std::list< std::pair< std::string, std::string >, std::allocator< std::pair< std::string, std::string > > >', 'ns3::MetadataList')
## Register a nested module for the namespace Config