Commit Graph

27 Commits

Author SHA1 Message Date
Tom Henderson 8affa0fe6e Exclude TapBridgeFdReader from bindings when TapBridge is not enabled 2011-01-26 10:56:33 -08:00
Gustavo J. A. M. Carneiro 01c7e0e4dd Change Python bindings method for overriding virtual methods of C++ classes
To override the C++ virtual method 'DoStart', we new define a method in Python called 'DoStart', whilst before we would define '_DoStart'.  This change is to align pybindgen generated bindings with the other python bindings tools out there, such as boost.python, swig, and sip.  It is also simpler to understand for users.
2010-03-26 18:54:11 +00:00
Gustavo J. A. M. Carneiro 478d8f35dd Add option to enable gcc precompiled header for compiling python bindings 2010-03-17 12:34:52 +00:00
Gustavo J. A. M. Carneiro acf00df486 Fix python bindings build when threading features are disabled (e.g. mingw) 2010-01-23 19:06:19 +00:00
Gustavo J. A. M. Carneiro 774a746985 Bug 786 - Make Ipv4Address hashable from Python 2010-01-14 11:45:04 +00:00
Gustavo J. A. M. Carneiro 35eaee45d4 python: fix error reporting, make it much more verbose 2009-12-28 17:53:52 +00:00
fmoatamr ff007127cf Fixing building with python bindings under MingW 2009-12-08 11:07:00 +01:00
fmoatamr c25a49aac3 Fixing building with python bindings under MacOS and MingW 2009-12-07 19:16:52 +01:00
Gustavo J. A. M. Carneiro 16835e0b5d Python: allow multiple api definitions directories, one per data model. 2009-09-22 16:13:42 +01:00
Gustavo J. A. M. Carneiro 49056cac7d fix mac osx python bindings 2009-03-27 11:18:54 +00:00
Gustavo J. A. M. Carneiro 9cf0988230 Fix build of Python bindings on systems with no support for TabBridge 2009-02-23 16:07:46 +00:00
Gustavo J. A. M. Carneiro d1b501f370 Python: wrap std::ostream/ofstream, for ascii tracing. 2009-02-18 12:23:08 +00:00
Gustavo J. A. M. Carneiro 8bd42a0693 Make it easy to turn on profiling of pybindgen 2009-01-17 16:59:45 +00:00
Gustavo J. A. M. Carneiro f116668736 RealtimeEventLock is gone 2009-01-14 15:35:42 +00:00
Gustavo J. A. M. Carneiro ef00197fe8 Disable EmuNetDevice Python bindings if the netdevice is not compiled in (bug #413) 2008-11-24 12:09:47 +00:00
Gustavo J. A. M. Carneiro fe8cbc9a0f A more pythonic wrapper for ns3.TypeId.LookupByNameFailSafe 2008-10-15 15:55:09 +01:00
Gustavo J. A. M. Carneiro e1f187d38a Detect the pthread.h header file and automatically disable components that cannot build without it. 2008-09-08 12:19:46 +01:00
Gustavo J. A. M. Carneiro dcce81147d Use the information provided by conf.report_optional_feature() to enable/disable python bindings for optional APIs 2008-09-06 19:24:32 +01:00
Mathieu Lacage 87dc4f304d catch KeyError exception to avoid failing when sqlite or gtk are not installed 2008-09-02 10:44:28 -07:00
Gustavo J. A. M. Carneiro 1ace78069a Fix compilation of Python bindings when libsqlite3 is not available (and so the class SqliteDataOutput is omitted). 2008-09-02 17:32:19 +01:00
Gustavo J. A. M. Carneiro abd6647112 New PyBindGen, fixes python wrapper identity issue. 2008-08-23 22:35:10 +01:00
Gustavo J. A. M. Carneiro a128c2f70a Python: fix bad parameter passed into pybindgen. 2008-08-18 16:00:47 +01:00
Gustavo J. A. M. Carneiro b9722796d7 Require new PyBindGen; make it work for Python 2.3. 2008-07-22 16:54:24 +01:00
Gustavo J. A. M. Carneiro 10ee9b9e01 Python: make helper class methods using attribute optional parameters work. 2008-07-13 17:55:48 +01:00
Gustavo J. A. M. Carneiro 1132bcbd99 If GtkConfigStore support is disabled, disable the python bindings for it, or else compilation fails. 2008-07-12 22:06:15 +01:00
Gustavo J. A. M. Carneiro 0f045371a3 The 'everything.h' header file is only used for Python bindings and should be generated into bindings/python/, not ns3/. 2008-07-09 14:58:02 +01:00
Gustavo J. A. M. Carneiro 5f994081d5 python bindings 2008-07-08 10:43:58 -07:00