Ricardo Abreu wrote:
Thank you, but I had tried that and it doesn't seem to work... look:
http://codepad.org/kA61P8r0
What am I doing wrong?
In the sake of understanding the code a little better you may write it a
bit less compact. Then you will realize that the item extraction you
were asking about is in fact working fine. However, as it returns an
object, not an int, you still need to extract the C++ type properly.
Just using C casts doesn't work. (Read the docs.)
Regards,
Stefan
--
...ich hab' noch einen Koffer in Berlin...
_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig