This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients vstinner
Date 2009-09-07.23:58:04
SpamBayes Score 0.00032358896
Marked as misclassified No
Message-id <1252367888.87.0.134332885078.issue6859@psf.upfronthosting.co.za>
In-reply-to
Content
It would be nice to have (at least) some stdint.h types in ctypes:
- uint8_t, int8_t
- int16_t, uint16_t
- int32_t, uint32_t
- uint64_t, int64_t

Attached fle is a Python implementation of that.

stdint.h contains much more types, but I don't think that
(u)int_leastXX_t/(u)int_fastXX_t are used in public structures/functions.

Other interesting types/constants from stdint.h:
- intptr_t / uintptr_t
- (U)INT(8|16|32|64)_(MIN|MAX)
- PTRDIFF_MAX
History
Date User Action Args
2009-09-07 23:58:09vstinnersetrecipients: + vstinner
2009-09-07 23:58:08vstinnersetmessageid: <1252367888.87.0.134332885078.issue6859@psf.upfronthosting.co.za>
2009-09-07 23:58:07vstinnerlinkissue6859 messages
2009-09-07 23:58:06vstinnercreate