> > > http://effbot.org/pyfaq/suggest.htm > > FAQ: How do I say returns void in ctypes? > That's in the ctypes documentation, where it belongs.
Thank you, before I never had found "Use None for void a function not returning anything" at: http://starship.python.net/crew/theller/ctypes/reference.html Now I see, that find corresponds to: http://docs.python.org/dev/lib/ctypes-foreign-functions.html I think this remains an FAQ, because I see void is missing from much more prominent places: http://docs.python.org/dev/lib/node452.html "Fundamental data types" http://docs.python.org/dev/lib/ctypes-return-types.html Finding a way to suggest improving those docs would help more than suggesting an FAQ, I agree. > > > > http://effbot.org/pyfaq/suggest.htm > > FAQ: How do I say unsigned char in ctypes? > That's in the ctypes documentation, where it belongs. Yes and no. The whole FAQ suggested was: FAQ: How do I say unsigned char in ctypes? A: ctypes.c_ubyte ctypes doesn't define c_uchar. This actually is doc'ed, it's just annoying. Per your kind correction above re void, I see we could also say: FAQ: How do I say returns void in ctypes? A: restype = None ctypes doesn't define c_void. This actually is doc'ed obscurely, it's just irregular. -- http://mail.python.org/mailman/listinfo/python-list