On 08/07/2018 10:12 PM, pp wrote:
> These bindings are written in c++/Python?
The API definitions for ns-3's libraries are written in Python, and a
tool called 'pybindgen' generates the C++ binding code which is then
compiled and linked to form the Python module. So, technically, the
bindings are in C++ but that C++ code is generated by the bindings
generator pybindgen.
You may want to review pybindgen's tutorial for answers to these types
of questions:
https://pythonhosted.org/PyBindGen/tutorial.html
- Tom