Browse Source

Fixed array type printing for incomplete arrays.

pull/219/merge
triton 12 years ago
parent
commit
ccb0d24b6a
  1. 1
      src/Generator/Types/CppTypePrinter.cs

1
src/Generator/Types/CppTypePrinter.cs

@ -38,6 +38,7 @@ namespace CppSharp.Types @@ -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);
}

Loading…
Cancel
Save