Re: Ctypes compatibility

2012-01-11 Thread Evan Driscoll
On 1/10/2012 22:42, Alec Taylor wrote: > Use size_t > > http://en.wikipedia.org/wiki/C_data_types#Size_and_pointer_difference_types Um, perhaps you misunderstand. I don't control the C API, I'm calling a function that just exists in libc (unless I do what I said and write a wrapper). If you're sayi

Re: Ctypes compatibility

2012-01-10 Thread Alec Taylor
Use size_t http://en.wikipedia.org/wiki/C_data_types#Size_and_pointer_difference_types On Wed, Jan 11, 2012 at 2:20 PM, Evan Driscoll wrote: > Might as well ask another question of the list. > > I've written a ctypes-based Python wrapper around the 'readdir' > function. (I want access to the dt_