Nick Craig-Wood <n...@craig-wood.com> writes:

> It can be done properly with gccxml though which converts structures
> into ctypes definitions.

That sounds interesting.

> That said the dirent struct is specified by POSIX so if you get the
> correct types for all the individual members then it should be
> correct everywhere.  Maybe ;-)

AFAIK POSIX specifies the names and types of the members, but not
their order in the structure, nor alignment.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to