Python: add needed annotations to ns3::GlobalRouter::GetInjectedRoute and ns3::Ipv4GlobalRouting::GetRoute. Fixes bug #809.
--- a/bindings/python/ns3modulescan.py Mon Feb 08 22:45:39 2010 -0800
+++ b/bindings/python/ns3modulescan.py Tue Feb 09 15:06:21 2010 +0000
@@ -87,6 +87,13 @@
'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::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):