From ccb0d24b6a592638285e473316af7c295f0fdd59 Mon Sep 17 00:00:00 2001 From: triton Date: Thu, 10 Apr 2014 14:47:10 +0100 Subject: [PATCH] Fixed array type printing for incomplete arrays. --- src/Generator/Types/CppTypePrinter.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Generator/Types/CppTypePrinter.cs b/src/Generator/Types/CppTypePrinter.cs index 63b0cffe..9e084752 100644 --- a/src/Generator/Types/CppTypePrinter.cs +++ b/src/Generator/Types/CppTypePrinter.cs @@ -38,6 +38,7 @@ namespace CppSharp.Types return string.Format("{0}[{1}]", typeName, array.Size); case ArrayType.ArraySize.Variable: case ArrayType.ArraySize.Dependent: + case ArrayType.ArraySize.Incomplete: return string.Format("{0}[]", typeName); }