Re: Help with pointers when calling from python to C

2010-10-10 Thread Nobody
On Fri, 08 Oct 2010 18:02:15 +0200, Jonas H. wrote: > On 10/08/2010 05:23 PM, Carolyn MacLeod wrote: >> "How do I pass an integer by reference to a C function?" > > That's impossible in pure Python. The only thing I can think of is a > wrapper in C. I didn't see the original message, but if you

Re: Help with pointers when calling from python to C

2010-10-08 Thread Jonas H.
On 10/08/2010 05:23 PM, Carolyn MacLeod wrote: "How do I pass an integer by reference to a C function?" That's impossible in pure Python. The only thing I can think of is a wrapper in C. -- http://mail.python.org/mailman/listinfo/python-list

Help with pointers when calling from python to C

2010-10-08 Thread Carolyn MacLeod
Hi. This is kind of a cross-product question, having to do with accessibility on Linux using ATK (AT-SPI). However, I think it really boils down to a python question: "How do I pass an integer by reference to a C function?" I am using Accerciser (http://live.gnome.org/Accerciser), an accessibi