equal
deleted
inserted
replaced
1 from pybindgen import Module, FileCodeSink, param, retval, cppclass |
1 from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers |
2 |
2 |
3 def register_types(module): |
3 def register_types(module): |
4 root_module = module.get_root() |
4 root_module = module.get_root() |
5 |
5 |
6 ## error-model.h: ns3::ErrorUnit [enumeration] |
6 ## error-model.h: ns3::ErrorUnit [enumeration] |
422 ## packet.h: static void ns3::Packet::EnableChecking() [member function] |
422 ## packet.h: static void ns3::Packet::EnableChecking() [member function] |
423 cls.add_method('EnableChecking', |
423 cls.add_method('EnableChecking', |
424 'void', |
424 'void', |
425 [], |
425 [], |
426 is_static=True) |
426 is_static=True) |
427 ## packet.h: static void ns3::Packet::EnableMetadata() [member function] |
|
428 cls.add_method('EnableMetadata', |
|
429 'void', |
|
430 [], |
|
431 is_static=True, deprecated=True) |
|
432 ## packet.h: static void ns3::Packet::EnablePrinting() [member function] |
427 ## packet.h: static void ns3::Packet::EnablePrinting() [member function] |
433 cls.add_method('EnablePrinting', |
428 cls.add_method('EnablePrinting', |
434 'void', |
429 'void', |
435 [], |
430 [], |
436 is_static=True) |
431 is_static=True) |