Add PrimitiveType.UIntPtr in AST and code generators
@ -664,6 +664,7 @@ namespace CppSharp.AST
Float,
Double,
IntPtr,
UIntPtr,
Char16
}
@ -185,6 +185,7 @@ namespace CppSharp.Generators.CLI
case PrimitiveType.Float: return "float";
case PrimitiveType.Double: return "double";
case PrimitiveType.IntPtr: return "IntPtr";
case PrimitiveType.UIntPtr: return "UIntPtr";
throw new NotSupportedException();
@ -381,6 +381,7 @@ namespace CppSharp.Generators.CSharp
case PrimitiveType.IntPtr: return "global::System.IntPtr";
case PrimitiveType.UIntPtr: return "global::System.UIntPtr";
@ -111,6 +111,7 @@ namespace CppSharp.Types
case PrimitiveType.IntPtr: return "void*";
case PrimitiveType.UIntPtr: return "uintptr_t";