Python/C++ interface
Jay O'Connor
joconnor at cybermesa.com
Thu Feb 1 16:28:23 EST 2001
Michael Hudson wrote:
> You missed a METH_VARARGS somewhere.
Ah, yes...I see it now...in my static declaration of the exported method
list
> > Also, is there a good way of printing the name of the type of a
> > PyObject?
>
> Something very like printf(ob->ob_type->tp_name).
Doh! I was so close to that a few times :)
Thanks
--
Jay O'Connor
joconnor at cybermesa.com
http://www.cybermesa.com/~joconnor
"God himself plays the bass strings first when He tunes the soul"
More information about the Python-list
mailing list