Date: 2001-03-08 22:31:55
I wrapped a class with some methods of the type...
char * myclass::myfunc(int mynum, const char * mystring = NULL)
Now, the wrapped class method does work.. however, when I was testing
it under the interactive python session, it complained that function
requires 3 parameters, and I had only provided 2 as in:
mw = mywrap(1)
mw.myfunc(1) // it didn't like this...
Shouldn't the NULL default be used by the python call?
It didn't complain when I did
mw.myfunc(1,"") // This worked but defeats the purpose of using
Any help would be greatly appreciated!
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk