mirror of https://github.com/mono/CppSharp.git
Browse Source
The enum PrimitiveType represents, according to the comment, "the C++ built-in types.". However, it does not contain values for C++'s "long" or "unsigned long", and the parser converts long to int. This is not correct, and is a problem with 64bit support. This patch adds Long and ULong values to PrimitiveType, and adds those to all the switch-cases all around the code. For now Long and ULong are handled exactly like Int and UInt, so this patch does not change behavior. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@iki.fi>pull/252/head
12 changed files with 42 additions and 15 deletions
Loading…
Reference in new issue