On Wed, May 12, 2010 at 5:02 PM, Michael Hanselmann <[email protected]> wrote:

>> +  libc.__errno_location.restype = ctypes.POINTER(ctypes.c_int)
>
> What's this?

Do you think it needs explaination?
ctypes assumes things are/return int, in this case we're dealing with the
errno location, which is a pointer to an integer.

> Where's the unittest?

I'm not sure which test can be done, can you suggest a few possible tests?


Thank you,

Luca

Reply via email to