Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
1 merge request!9Fix for long type in python 3.
...@@ -67,15 +67,15 @@ cool_type_aliases = _guess_cool_type_aliases() ...@@ -67,15 +67,15 @@ cool_type_aliases = _guess_cool_type_aliases()
## Mapping to define typedefs for C++ basic types ## Mapping to define typedefs for C++ basic types
basic_types_mapping = {# C++: Python basic_types_mapping = {# C++: Python
"unsigned": "long" , # (none) "unsigned": "int" , # (none)
"unsigned int": "long" , # UInt32, ChannelId "unsigned int": "int" , # UInt32, ChannelId
"unsigned long long": "long" , # UInt64, UInt63, ValidityKey "unsigned long long": "int" , # UInt64, UInt63, ValidityKey
"bool": "bool", # Bool "bool": "bool", # Bool
"unsigned char": "int", # UChar "unsigned char": "int", # UChar
"short": "int", # Int16 "short": "int", # Int16
"unsigned short": "int", # UInt16 "unsigned short": "int", # UInt16
"int": "int", # Int32 "int": "int", # Int32
"long long": "long" , # Int64 "long long": "int" , # Int64
"float": "float", # Float "float": "float", # Float
"double": "float", # Double "double": "float", # Double
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment