bindings/python/ns3modulegen_generated.py
changeset 3468 0bb5275704fc
parent 3457 2ff6f05b9467
child 3539 427638d49248
equal deleted inserted replaced
3467:351f5847dda5 3468:0bb5275704fc
     1 from pybindgen import Module, FileCodeSink, write_preamble, param, retval
     1 from pybindgen import Module, FileCodeSink, param, retval, cppclass
     2 
     2 
     3 
     3 
     4 import pybindgen.settings
     4 import pybindgen.settings
     5 import warnings
     5 import warnings
     6 
     6 
   666     out = FileCodeSink(sys.stdout)
   666     out = FileCodeSink(sys.stdout)
   667     root_module = module_init()
   667     root_module = module_init()
   668     register_types(root_module)
   668     register_types(root_module)
   669     register_methods(root_module)
   669     register_methods(root_module)
   670     register_functions(root_module)
   670     register_functions(root_module)
   671     write_preamble(out)
       
   672     root_module.generate(out)
   671     root_module.generate(out)
   673 
   672 
   674 if __name__ == '__main__':
   673 if __name__ == '__main__':
   675     main()
   674     main()
   676 
   675