From 95bb72b5b49d29b2fcf8d8b3502a67903e26eac4 Mon Sep 17 00:00:00 2001 From: Tommaso Pecorella Date: Sun, 2 Sep 2018 01:20:09 +0200 Subject: [PATCH] sixlowpan: rescan bindings --- src/sixlowpan/bindings/modulegen__gcc_ILP32.py | 5 +++-- src/sixlowpan/bindings/modulegen__gcc_LP64.py | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/sixlowpan/bindings/modulegen__gcc_ILP32.py b/src/sixlowpan/bindings/modulegen__gcc_ILP32.py index 5c7668862..ed76f0e83 100644 --- a/src/sixlowpan/bindings/modulegen__gcc_ILP32.py +++ b/src/sixlowpan/bindings/modulegen__gcc_ILP32.py @@ -1348,7 +1348,7 @@ def register_Ns3Ipv6Address_methods(root_module, cls): cls.add_method('IsAllHostsMulticast', 'bool', [], - is_const=True) + deprecated=True, is_const=True) ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllNodesMulticast() const [member function] cls.add_method('IsAllNodesMulticast', 'bool', @@ -2168,7 +2168,8 @@ def register_Ns3TypeId_methods(root_module, cls): ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', - [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) + [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')], + deprecated=True) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor, std::string callback, ns3::TypeId::SupportLevel supportLevel=::ns3::TypeId::SupportLevel::SUPPORTED, std::string const & supportMsg="") [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', diff --git a/src/sixlowpan/bindings/modulegen__gcc_LP64.py b/src/sixlowpan/bindings/modulegen__gcc_LP64.py index 5c7668862..ed76f0e83 100644 --- a/src/sixlowpan/bindings/modulegen__gcc_LP64.py +++ b/src/sixlowpan/bindings/modulegen__gcc_LP64.py @@ -1348,7 +1348,7 @@ def register_Ns3Ipv6Address_methods(root_module, cls): cls.add_method('IsAllHostsMulticast', 'bool', [], - is_const=True) + deprecated=True, is_const=True) ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllNodesMulticast() const [member function] cls.add_method('IsAllNodesMulticast', 'bool', @@ -2168,7 +2168,8 @@ def register_Ns3TypeId_methods(root_module, cls): ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', - [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) + [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')], + deprecated=True) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor, std::string callback, ns3::TypeId::SupportLevel supportLevel=::ns3::TypeId::SupportLevel::SUPPORTED, std::string const & supportMsg="") [member function] cls.add_method('AddTraceSource', 'ns3::TypeId',