Properly parse (unsigned) long long

This fixes problems on platforms where sizeof(long) != sizeof(long long)
like ia32.
This commit is contained in:
Guido Günther 2012-10-13 01:05:40 +02:00
parent 1e25c54f66
commit d78035d06a

View File

@ -259,8 +259,8 @@ py_types = {
'double': ('d', None, "double", "double"), 'double': ('d', None, "double", "double"),
'unsigned int': ('i', None, "int", "int"), 'unsigned int': ('i', None, "int", "int"),
'unsigned long': ('l', None, "long", "long"), 'unsigned long': ('l', None, "long", "long"),
'long long': ('l', None, "longlong", "long long"), 'long long': ('L', None, "longlong", "long long"),
'unsigned long long': ('l', None, "longlong", "long long"), 'unsigned long long': ('L', None, "longlong", "long long"),
'unsigned char *': ('z', None, "charPtr", "char *"), 'unsigned char *': ('z', None, "charPtr", "char *"),
'char *': ('z', None, "charPtr", "char *"), 'char *': ('z', None, "charPtr", "char *"),
'const char *': ('z', None, "constcharPtr", "const char *"), 'const char *': ('z', None, "constcharPtr", "const char *"),