mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Make a distinction between shorts and unsigned shorts.
This commit is contained in:
parent
56cdce3070
commit
e3889da076
2 changed files with 2 additions and 1 deletions
|
@ -137,6 +137,7 @@ class OutputOnlyType(OutputOnlyMixIn, Type):
|
|||
void = None
|
||||
char = Type("char", "c")
|
||||
short = Type("short", "h")
|
||||
unsigned_short = Type("unsigned short", "H")
|
||||
int = Type("int", "i")
|
||||
long = Type("long", "l")
|
||||
unsigned_long = Type("unsigned long", "l")
|
||||
|
|
|
@ -21,7 +21,7 @@ TextEncoding = Type("TextEncoding", "l")
|
|||
|
||||
UInt8 = Type("UInt8", "b")
|
||||
SInt8 = Type("SInt8", "b")
|
||||
UInt16 = Type("UInt16", "h")
|
||||
UInt16 = Type("UInt16", "H")
|
||||
SInt16 = Type("SInt16", "h")
|
||||
UInt32 = Type("UInt32", "l")
|
||||
SInt32 = Type("SInt32", "l")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue