Realign Python ns3.Object constructors with C++

The Python constructors are now parameter oriented instead of attribute oriented.
The main motivation for this change is that Python bindings become broken with new Object types being introduced that do not have a default constructor (constructor without parameters).  Another reason is to shorten the gap between C++ and Python, API-wise--the more similar they are, the less confusing it becomes.
This commit is contained in:
Gustavo J. A. M. Carneiro
2010-03-17 11:18:55 +00:00
parent e9f5159b63
commit ecc1df19d5
2 changed files with 16 additions and 175 deletions

View File

@@ -15,7 +15,7 @@ import Build
import Utils
## https://launchpad.net/pybindgen/
REQUIRED_PYBINDGEN_VERSION = (0, 13, 0, 745)
REQUIRED_PYBINDGEN_VERSION = (0, 14, 0, 755)
REQUIRED_PYGCCXML_VERSION = (0, 9, 5)