31 Jan
2005
31 Jan
'05
2:55 p.m.
On Mon, 2005-01-31 at 14:24 +0100, Benjamin Schmeling wrote:
Hi, how can I expand my C++ class by adding a new contructor with PyLong as an parameter without changing my C++ Class. Is it possible?
Yes, it is. See libs/python/test/injected.{cpp,py} in the source package, and the documentation for make_constructor in the reference manual (its under "Function Invocation and Creation"). HTH, -Jonathan