bindings/python/ns3_module_core.py
changeset 4248 6e0c97efccd0
parent 4241 c35796bc0b4b
child 4261 82be63aaf35a
child 4265 5f837915710a
--- a/bindings/python/ns3_module_core.py	Sun Mar 01 11:17:30 2009 -0800
+++ b/bindings/python/ns3_module_core.py	Sat Feb 28 15:02:15 2009 +0000
@@ -1115,10 +1115,11 @@
     cls.add_constructor([])
     ## random-variable.h: ns3::UniformVariable::UniformVariable(double s, double l) [constructor]
     cls.add_constructor([param('double', 's'), param('double', 'l')])
-    ## random-variable.h: double ns3::UniformVariable::GetValue() [member function]
+    ## random-variable.h: double ns3::UniformVariable::GetValue() const [member function]
     cls.add_method('GetValue', 
                    'double', 
-                   [])
+                   [], 
+                   is_const=True)
     ## random-variable.h: double ns3::UniformVariable::GetValue(double s, double l) [member function]
     cls.add_method('GetValue', 
                    'double', 
@@ -2130,7 +2131,7 @@
     module.add_function('TypeNameGet', 
                         'std::string', 
                         [], 
-                        template_parameters=['long long'])
+                        template_parameters=['long'])
     ## type-name.h: extern std::string ns3::TypeNameGet() [free function]
     module.add_function('TypeNameGet', 
                         'std::string', 
@@ -2150,7 +2151,7 @@
     module.add_function('TypeNameGet', 
                         'std::string', 
                         [], 
-                        template_parameters=['unsigned long long'])
+                        template_parameters=['unsigned long'])
     ## type-name.h: extern std::string ns3::TypeNameGet() [free function]
     module.add_function('TypeNameGet', 
                         'std::string',