Fix the Python binding for ns3::Ipv4ListRouting::GetRoutingProtocol
This commit is contained in:
@@ -111,7 +111,7 @@ def register_Ns3Ipv4ListRouting_methods(root_module, cls):
|
||||
## ipv4-list-routing.h: ns3::Ptr<ns3::Ipv4RoutingProtocol> ns3::Ipv4ListRouting::GetRoutingProtocol(uint32_t index, int16_t & priority) const [member function]
|
||||
cls.add_method('GetRoutingProtocol',
|
||||
'ns3::Ptr< ns3::Ipv4RoutingProtocol >',
|
||||
[param('uint32_t', 'index'), param('int16_t &', 'priority')],
|
||||
[param('uint32_t', 'index'), param('int16_t &', 'priority', direction=2)],
|
||||
is_const=True, is_virtual=True)
|
||||
## ipv4-list-routing.h: static ns3::TypeId ns3::Ipv4ListRouting::GetTypeId() [member function]
|
||||
cls.add_method('GetTypeId',
|
||||
|
||||
@@ -111,7 +111,7 @@ def register_Ns3Ipv4ListRouting_methods(root_module, cls):
|
||||
## ipv4-list-routing.h: ns3::Ptr<ns3::Ipv4RoutingProtocol> ns3::Ipv4ListRouting::GetRoutingProtocol(uint32_t index, int16_t & priority) const [member function]
|
||||
cls.add_method('GetRoutingProtocol',
|
||||
'ns3::Ptr< ns3::Ipv4RoutingProtocol >',
|
||||
[param('uint32_t', 'index'), param('int16_t &', 'priority')],
|
||||
[param('uint32_t', 'index'), param('int16_t &', 'priority', direction=2)],
|
||||
is_const=True, is_virtual=True)
|
||||
## ipv4-list-routing.h: static ns3::TypeId ns3::Ipv4ListRouting::GetTypeId() [member function]
|
||||
cls.add_method('GetTypeId',
|
||||
|
||||
@@ -87,13 +87,17 @@ type_annotations = {
|
||||
'extern void ns3::PythonCompleteConstruct(ns3::Ptr<ns3::Object> object, ns3::TypeId typeId, ns3::AttributeList const & attributes) [free function]': {
|
||||
'ignore': None # used transparently by, should not be wrapped
|
||||
},
|
||||
|
||||
'ns3::Ptr<ns3::Ipv4RoutingProtocol> ns3::Ipv4ListRouting::GetRoutingProtocol(uint32_t index, int16_t & priority) const [member function]': {
|
||||
'params': {'priority':{'direction':'out'}}
|
||||
},
|
||||
'ns3::Ipv4RoutingTableEntry * ns3::GlobalRouter::GetInjectedRoute(uint32_t i) [member function]': {
|
||||
'params': {'return': { 'caller_owns_return': 'false',}},
|
||||
},
|
||||
'ns3::Ipv4RoutingTableEntry * ns3::Ipv4GlobalRouting::GetRoute(uint32_t i) [member function]': {
|
||||
'params': {'return': { 'caller_owns_return': 'false',}},
|
||||
},
|
||||
|
||||
|
||||
}
|
||||
|
||||
def get_ns3_relative_path(path):
|
||||
|
||||
Reference in New Issue
Block a user