[Ns-developers] Status of Python bindings
Gustavo Carneiro
gjcarneiro at gmail.com
Sun May 11 14:42:08 PDT 2008
[...]
>
> - Function (return_type, name, args) -> Function (name, return_type,
> args). The same would hold for add_cpp_method, of course.
It occurred to me, since we're making API changes, would this look to
strange to you:
Function (name, args, return_type)
This would allow me to make the return_type parameter optional, which would
be equivalent to void, and so simplify considerably definition of functions
which do not return anything. It would also make the ordering more in line
with UML method description, which are like:
+methodName(parameters): return_type
--
Gustavo J. A. M. Carneiro
INESC Porto, Telecommunications and Multimedia Unit
"The universe is always one step beyond logic." -- Frank Herbert
More information about the Ns-developers
mailing list