Python: add needed annotations to ns3::GlobalRouter::GetInjectedRoute and ns3::Ipv4GlobalRouting::GetRoute. Fixes bug #809.
authorGustavo J. A. M. Carneiro <gjc@inescporto.pt>
Tue, 09 Feb 2010 15:06:21 +0000
changeset 5980 7929ba7d13bd
parent 5978 36c591bbdabd
child 5981 053cef05e395
Python: add needed annotations to ns3::GlobalRouter::GetInjectedRoute and ns3::Ipv4GlobalRouting::GetRoute. Fixes bug #809.
bindings/python/ns3modulescan.py
--- 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):