[Ns-developers] CreateObject and non-default constructors
Mathieu Lacage
mathieu.lacage at sophia.inria.fr
Mon Jun 8 07:47:22 PDT 2009
On Mon, 2009-06-08 at 15:45 +0100, Gustavo Carneiro wrote:
>
> Additionally, I would like to keep Python bindings simpler than C++,
> which means we just call Class(...) constructor and behind the scenes
> the wrapper code calls CreateObjectWhatever. With that framework in
> mind, it becomes difficult to support both types of parameters at the
> same time without making one of the alternatives uglier.
I think that it's ok to make one of the alternatives ugly. Preferably,
the least used one.
>
> So, in Python bindings side, nothing will change with a+b patches. Is
> that OK?
yes.
Mathieu
More information about the Ns-developers
mailing list