Commit c037482f authored by scott snyder's avatar scott snyder Committed by Charles Delort
Browse files

Fix for long type in python 3.

Python 3 doesn't have a long type.
parent 93035798
......@@ -67,15 +67,15 @@ cool_type_aliases = _guess_cool_type_aliases()
## Mapping to define typedefs for C++ basic types
basic_types_mapping = {# C++: Python
"unsigned": "long" , # (none)
"unsigned int": "long" , # UInt32, ChannelId
"unsigned long long": "long" , # UInt64, UInt63, ValidityKey
"unsigned": "int" , # (none)
"unsigned int": "int" , # UInt32, ChannelId
"unsigned long long": "int" , # UInt64, UInt63, ValidityKey
"bool": "bool", # Bool
"unsigned char": "int", # UChar
"short": "int", # Int16
"unsigned short": "int", # UInt16
"int": "int", # Int32
"long long": "long" , # Int64
"long long": "int" , # Int64
"float": "float", # Float
"double": "float", # Double
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment