From 38d0c59857506d2c86f1458c9e1bd4fa9bee636b Mon Sep 17 00:00:00 2001 From: "Gustavo J. A. M. Carneiro" Date: Tue, 9 Feb 2010 15:06:21 +0000 Subject: [PATCH] Python: add needed annotations to ns3::GlobalRouter::GetInjectedRoute and ns3::Ipv4GlobalRouting::GetRoute. Fixes bug #809. --- bindings/python/ns3modulescan.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bindings/python/ns3modulescan.py b/bindings/python/ns3modulescan.py index 4ecb14946..d5862401a 100644 --- a/bindings/python/ns3modulescan.py +++ b/bindings/python/ns3modulescan.py @@ -87,6 +87,13 @@ type_annotations = { 'extern void ns3::PythonCompleteConstruct(ns3::Ptr 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):